pub struct FormatDescriptor {
pub pixel_format: PixelFormat,
pub size: Size,
/* private fields */
}Expand description
Describes a supported camera format.
Fields§
§pixel_format: PixelFormat§size: SizeImplementations§
Source§impl FormatDescriptor
impl FormatDescriptor
Sourcepub fn frame_rate_ranges(&self) -> &[FrameRateRange]
pub fn frame_rate_ranges(&self) -> &[FrameRateRange]
The frame rate ranges supported by this format.
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