pub struct Format<'d> {
pub pixel_format: PixelFormat,
pub frames: &'d [Frame<'d>],
}Expand description
A video format the camera can stream, with its frame sizes.
Fields§
§pixel_format: PixelFormatThe pixel format.
frames: &'d [Frame<'d>]The frame sizes, at least one. The first is the default.
Implementations§
Trait Implementations§
impl<'d> Copy for Format<'d>
Auto Trait Implementations§
impl<'d> Forget for Format<'d>
impl<'d> Freeze for Format<'d>
impl<'d> Move for Format<'d>
impl<'d> RefUnwindSafe for Format<'d>
impl<'d> Send for Format<'d>
impl<'d> Sync for Format<'d>
impl<'d> Unpin for Format<'d>
impl<'d> UnsafeUnpin for Format<'d>
impl<'d> UnwindSafe for Format<'d>
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