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§
source§impl Clone for _tagVersion
impl Clone for _tagVersion
source§fn clone(&self) -> _tagVersion
fn clone(&self) -> _tagVersion
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 _tagVersion
impl Debug for _tagVersion
source§impl Default for _tagVersion
impl Default for _tagVersion
source§fn default() -> _tagVersion
fn default() -> _tagVersion
Returns the “default value” for a type. Read more
source§impl Hash for _tagVersion
impl Hash for _tagVersion
source§impl Ord for _tagVersion
impl Ord for _tagVersion
source§fn cmp(&self, other: &_tagVersion) -> Ordering
fn cmp(&self, other: &_tagVersion) -> 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 _tagVersion
impl PartialEq for _tagVersion
source§fn 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 ==
.source§impl PartialOrd for _tagVersion
impl PartialOrd for _tagVersion
source§fn partial_cmp(&self, other: &_tagVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &_tagVersion) -> 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 _tagVersion
impl Eq for _tagVersion
impl StructuralPartialEq for _tagVersion
Auto Trait Implementations§
impl Freeze for _tagVersion
impl RefUnwindSafe for _tagVersion
impl Send for _tagVersion
impl Sync for _tagVersion
impl Unpin for _tagVersion
impl UnwindSafe for _tagVersion
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