Struct openh264_sys2::_tagVersion
source · [−]#[repr(C)]pub struct _tagVersion {
pub uMajor: c_uint,
pub uMinor: c_uint,
pub uRevision: c_uint,
pub uReserved: c_uint,
}
Expand description
@brief Struct of OpenH264 version
Fields
uMajor: c_uint
< The major version number
uMinor: c_uint
< The minor version number
uRevision: c_uint
< The revision number
uReserved: c_uint
< The reserved number, it should be 0.
Trait Implementations
sourceimpl Clone for _tagVersion
impl Clone for _tagVersion
sourcefn clone(&self) -> _tagVersion
fn clone(&self) -> _tagVersion
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 _tagVersion
impl Debug for _tagVersion
sourceimpl Default for _tagVersion
impl Default for _tagVersion
sourcefn default() -> _tagVersion
fn default() -> _tagVersion
Returns the “default value” for a type. Read more
sourceimpl Hash for _tagVersion
impl Hash for _tagVersion
sourceimpl Ord for _tagVersion
impl Ord for _tagVersion
sourceimpl PartialEq<_tagVersion> for _tagVersion
impl PartialEq<_tagVersion> for _tagVersion
sourcefn eq(&self, other: &_tagVersion) -> bool
fn eq(&self, other: &_tagVersion) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &_tagVersion) -> bool
fn ne(&self, other: &_tagVersion) -> bool
This method tests for !=
.
sourceimpl PartialOrd<_tagVersion> for _tagVersion
impl PartialOrd<_tagVersion> for _tagVersion
sourcefn partial_cmp(&self, other: &_tagVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &_tagVersion) -> 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 _tagVersion
impl Eq for _tagVersion
impl StructuralEq for _tagVersion
impl StructuralPartialEq for _tagVersion
Auto Trait Implementations
impl RefUnwindSafe for _tagVersion
impl Send for _tagVersion
impl Sync for _tagVersion
impl Unpin for _tagVersion
impl UnwindSafe for _tagVersion
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