Struct openh264_sys2::SVideoProperty
source · #[repr(C)]pub struct SVideoProperty {
pub size: c_uint,
pub eVideoBsType: VIDEO_BITSTREAM_TYPE,
}
Expand description
@brief Define a new struct to show the property of video bitstream.
Fields§
§size: c_uint
< size of the struct
eVideoBsType: VIDEO_BITSTREAM_TYPE
< video stream type (AVC/SVC)
Trait Implementations§
source§impl Clone for SVideoProperty
impl Clone for SVideoProperty
source§fn clone(&self) -> SVideoProperty
fn clone(&self) -> SVideoProperty
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 SVideoProperty
impl Debug for SVideoProperty
source§impl Default for SVideoProperty
impl Default for SVideoProperty
source§impl Hash for SVideoProperty
impl Hash for SVideoProperty
source§impl Ord for SVideoProperty
impl Ord for SVideoProperty
source§fn cmp(&self, other: &SVideoProperty) -> Ordering
fn cmp(&self, other: &SVideoProperty) -> 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 SVideoProperty
impl PartialEq for SVideoProperty
source§fn eq(&self, other: &SVideoProperty) -> bool
fn eq(&self, other: &SVideoProperty) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SVideoProperty
impl PartialOrd for SVideoProperty
source§fn partial_cmp(&self, other: &SVideoProperty) -> Option<Ordering>
fn partial_cmp(&self, other: &SVideoProperty) -> 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 SVideoProperty
impl Eq for SVideoProperty
impl StructuralPartialEq for SVideoProperty
Auto Trait Implementations§
impl Freeze for SVideoProperty
impl RefUnwindSafe for SVideoProperty
impl Send for SVideoProperty
impl Sync for SVideoProperty
impl Unpin for SVideoProperty
impl UnwindSafe for SVideoProperty
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