pub struct ImageExtendedChunkTrailer { /* private fields */ }Expand description
A specific trailer part when payload type is PayloadType::ImageExtendedChunk.
When Leader::payload_type returns PayloadType::ImageExtendedChunk, then the trailer
contains ImageExtendedChunkTrailer in a specific trailer part.
Implementations§
Source§impl ImageExtendedChunkTrailer
impl ImageExtendedChunkTrailer
Sourcepub fn actual_height(&self) -> u32
pub fn actual_height(&self) -> u32
Return the actual height of the payload image.
Some U3V cameras support variable frame size, in that case, the height of the image may be less than or equal to the height reported in the leader.
Sourcepub fn chunk_layout_id(&self) -> u32
pub fn chunk_layout_id(&self) -> u32
Id used to report chunk layout changes.
Id changes means that the chunk layout has changed from the previous layout.
Trait Implementations§
Source§impl SpecificTrailer for ImageExtendedChunkTrailer
impl SpecificTrailer for ImageExtendedChunkTrailer
Source§fn from_bytes(buf: &[u8]) -> Result<Self>
fn from_bytes(buf: &[u8]) -> Result<Self>
Construct Specific trailer from bytes.
Auto Trait Implementations§
impl Freeze for ImageExtendedChunkTrailer
impl RefUnwindSafe for ImageExtendedChunkTrailer
impl Send for ImageExtendedChunkTrailer
impl Sync for ImageExtendedChunkTrailer
impl Unpin for ImageExtendedChunkTrailer
impl UnwindSafe for ImageExtendedChunkTrailer
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