pub struct ImageMeta {
pub pixel_format: PixelFormat,
pub width: u32,
pub height: u32,
pub payload_size: u64,
}Expand description
Image stream metadata published at acquisition start and on format change.
Fields§
§pixel_format: PixelFormat§width: u32§height: u32§payload_size: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for ImageMeta
impl<'de> Deserialize<'de> for ImageMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ImageMeta
impl RefUnwindSafe for ImageMeta
impl Send for ImageMeta
impl Sync for ImageMeta
impl Unpin for ImageMeta
impl UnsafeUnpin for ImageMeta
impl UnwindSafe for ImageMeta
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