#[repr(transparent)]pub struct VideoBitrate(pub i32);Expand description
Safe wrapper over [bindings::V4L2_CID_MPEG_VIDEO_BITRATE]
Tuple Fields§
§0: i32Trait Implementations§
Source§impl Clone for VideoBitrate
impl Clone for VideoBitrate
Source§fn clone(&self) -> VideoBitrate
fn clone(&self) -> VideoBitrate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VideoBitrate
Source§impl Debug for VideoBitrate
impl Debug for VideoBitrate
impl Eq for VideoBitrate
Source§impl ExtControlTrait for VideoBitrate
impl ExtControlTrait for VideoBitrate
Source§impl From<VideoBitrate> for i32
impl From<VideoBitrate> for i32
Source§fn from(value: VideoBitrate) -> Self
fn from(value: VideoBitrate) -> Self
Converts to this type from the input type.
Source§impl Ord for VideoBitrate
impl Ord for VideoBitrate
Source§fn cmp(&self, other: &VideoBitrate) -> Ordering
fn cmp(&self, other: &VideoBitrate) -> Ordering
1.21.0 (const: unstable) · 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 VideoBitrate
impl PartialEq for VideoBitrate
Source§fn eq(&self, other: &VideoBitrate) -> bool
fn eq(&self, other: &VideoBitrate) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VideoBitrate
impl PartialOrd for VideoBitrate
impl StructuralPartialEq for VideoBitrate
Auto Trait Implementations§
impl Freeze for VideoBitrate
impl RefUnwindSafe for VideoBitrate
impl Send for VideoBitrate
impl Sync for VideoBitrate
impl Unpin for VideoBitrate
impl UnsafeUnpin for VideoBitrate
impl UnwindSafe for VideoBitrate
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