#[repr(transparent)]pub struct VideoConstantQuality(pub i32);Expand description
Safe wrapper over [bindings::V4L2_CID_MPEG_VIDEO_CONSTANT_QUALITY]
Tuple Fields§
§0: i32Trait Implementations§
Source§impl Clone for VideoConstantQuality
impl Clone for VideoConstantQuality
Source§fn clone(&self) -> VideoConstantQuality
fn clone(&self) -> VideoConstantQuality
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 VideoConstantQuality
Source§impl Debug for VideoConstantQuality
impl Debug for VideoConstantQuality
impl Eq for VideoConstantQuality
Source§impl From<VideoConstantQuality> for i32
impl From<VideoConstantQuality> for i32
Source§fn from(value: VideoConstantQuality) -> Self
fn from(value: VideoConstantQuality) -> Self
Converts to this type from the input type.
Source§impl Ord for VideoConstantQuality
impl Ord for VideoConstantQuality
Source§fn cmp(&self, other: &VideoConstantQuality) -> Ordering
fn cmp(&self, other: &VideoConstantQuality) -> 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 VideoConstantQuality
impl PartialEq for VideoConstantQuality
Source§fn eq(&self, other: &VideoConstantQuality) -> bool
fn eq(&self, other: &VideoConstantQuality) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VideoConstantQuality
impl PartialOrd for VideoConstantQuality
impl StructuralPartialEq for VideoConstantQuality
Auto Trait Implementations§
impl Freeze for VideoConstantQuality
impl RefUnwindSafe for VideoConstantQuality
impl Send for VideoConstantQuality
impl Sync for VideoConstantQuality
impl Unpin for VideoConstantQuality
impl UnsafeUnpin for VideoConstantQuality
impl UnwindSafe for VideoConstantQuality
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