Struct openh264_sys2::SLTRConfig
source · #[repr(C)]pub struct SLTRConfig {
pub bEnableLongTermReference: bool,
pub iLTRRefNum: c_int,
}
Expand description
@brief Structure for LTR configuration
Fields§
§bEnableLongTermReference: bool
< 1: on, 0: off
iLTRRefNum: c_int
< TODO: not supported to set it arbitrary yet
Trait Implementations§
source§impl Clone for SLTRConfig
impl Clone for SLTRConfig
source§fn clone(&self) -> SLTRConfig
fn clone(&self) -> SLTRConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SLTRConfig
impl Debug for SLTRConfig
source§impl Default for SLTRConfig
impl Default for SLTRConfig
source§fn default() -> SLTRConfig
fn default() -> SLTRConfig
Returns the “default value” for a type. Read more
source§impl Hash for SLTRConfig
impl Hash for SLTRConfig
source§impl Ord for SLTRConfig
impl Ord for SLTRConfig
source§fn cmp(&self, other: &SLTRConfig) -> Ordering
fn cmp(&self, other: &SLTRConfig) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SLTRConfig
impl PartialEq for SLTRConfig
source§fn eq(&self, other: &SLTRConfig) -> bool
fn eq(&self, other: &SLTRConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SLTRConfig
impl PartialOrd for SLTRConfig
source§fn partial_cmp(&self, other: &SLTRConfig) -> Option<Ordering>
fn partial_cmp(&self, other: &SLTRConfig) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SLTRConfig
impl Eq for SLTRConfig
impl StructuralPartialEq for SLTRConfig
Auto Trait Implementations§
impl Freeze for SLTRConfig
impl RefUnwindSafe for SLTRConfig
impl Send for SLTRConfig
impl Sync for SLTRConfig
impl Unpin for SLTRConfig
impl UnwindSafe for SLTRConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more