pub struct FormatDescriptor {
pub pixel_format: PixelFormat,
pub size: Size,
pub frame_rate_ranges: Vec<FrameRateRange>,
}Available on crate feature
alloc only.Expand description
Describes a supported camera format.
Fields§
§pixel_format: PixelFormat§size: Size§frame_rate_ranges: Vec<FrameRateRange>Trait Implementations§
Source§impl Clone for FormatDescriptor
impl Clone for FormatDescriptor
Source§fn clone(&self) -> FormatDescriptor
fn clone(&self) -> FormatDescriptor
Returns a duplicate 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 FormatDescriptor
impl Debug for FormatDescriptor
Source§impl PartialEq for FormatDescriptor
impl PartialEq for FormatDescriptor
impl StructuralPartialEq for FormatDescriptor
Auto Trait Implementations§
impl Freeze for FormatDescriptor
impl RefUnwindSafe for FormatDescriptor
impl Send for FormatDescriptor
impl Sync for FormatDescriptor
impl Unpin for FormatDescriptor
impl UnwindSafe for FormatDescriptor
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