pub struct ImageData {
pub width: u32,
pub height: u32,
pub data: Bytes,
pub bit_depth: u32,
pub is_color: bool,
pub bayer_pattern: Option<BayerPattern>,
pub frame_kind: FrameKind,
}Expand description
Image data from a camera or imaging connection.
Fields§
§width: u32§height: u32§data: Bytes§bit_depth: u32§is_color: bool§bayer_pattern: Option<BayerPattern>§frame_kind: FrameKindTrait Implementations§
Auto Trait Implementations§
impl !Freeze for ImageData
impl RefUnwindSafe for ImageData
impl Send for ImageData
impl Sync for ImageData
impl Unpin for ImageData
impl UnsafeUnpin for ImageData
impl UnwindSafe for ImageData
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