Struct openh264_sys2::SLTRConfig
source · [−]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
sourceimpl Clone for SLTRConfig
impl Clone for SLTRConfig
sourcefn clone(&self) -> SLTRConfig
fn clone(&self) -> SLTRConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SLTRConfig
impl Debug for SLTRConfig
sourceimpl Default for SLTRConfig
impl Default for SLTRConfig
sourcefn default() -> SLTRConfig
fn default() -> SLTRConfig
Returns the “default value” for a type. Read more
sourceimpl Hash for SLTRConfig
impl Hash for SLTRConfig
sourceimpl Ord for SLTRConfig
impl Ord for SLTRConfig
sourceimpl PartialEq<SLTRConfig> for SLTRConfig
impl PartialEq<SLTRConfig> for SLTRConfig
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &SLTRConfig) -> bool
fn ne(&self, other: &SLTRConfig) -> bool
This method tests for !=
.
sourceimpl PartialOrd<SLTRConfig> for SLTRConfig
impl PartialOrd<SLTRConfig> for SLTRConfig
sourcefn partial_cmp(&self, other: &SLTRConfig) -> Option<Ordering>
fn partial_cmp(&self, other: &SLTRConfig) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for SLTRConfig
impl Eq for SLTRConfig
impl StructuralEq for SLTRConfig
impl StructuralPartialEq for SLTRConfig
Auto Trait Implementations
impl RefUnwindSafe for SLTRConfig
impl Send for SLTRConfig
impl Sync for SLTRConfig
impl Unpin for SLTRConfig
impl UnwindSafe for SLTRConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more