pub struct PlaneBytes { /* private fields */ }
Expand description
The byte matrix layout of a single plane of the image.
Implementations§
Trait Implementations§
Source§impl Clone for PlaneBytes
impl Clone for PlaneBytes
Source§fn clone(&self) -> PlaneBytes
fn clone(&self) -> PlaneBytes
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<T> Decay<PlanarLayout<T>> for PlaneBytes
impl<T> Decay<PlanarLayout<T>> for PlaneBytes
fn decay(from: PlanarLayout<T>) -> Self
Source§impl Decay<PlaneBytes> for CanvasLayout
impl Decay<PlaneBytes> for CanvasLayout
fn decay(from: PlaneBytes) -> Self
Source§impl From<&PlaneBytes> for CanvasLayout
impl From<&PlaneBytes> for CanvasLayout
Source§fn from(plane: &PlaneBytes) -> Self
fn from(plane: &PlaneBytes) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlaneBytes
impl PartialEq for PlaneBytes
Source§impl Relocate for PlaneBytes
impl Relocate for PlaneBytes
Source§fn byte_offset(&self) -> usize
fn byte_offset(&self) -> usize
The offset of the first relevant byte of this layout. Read more
Source§fn relocate(&mut self, offset: AlignedOffset)
fn relocate(&mut self, offset: AlignedOffset)
Move the layout to another aligned offset. Read more
Source§fn relocate_to_byte(&mut self, offset: usize) -> bool
fn relocate_to_byte(&mut self, offset: usize) -> bool
Attempt to relocate the offset to another start offset, in bytes. Read more
Source§fn byte_range(&self) -> Range<usize>
fn byte_range(&self) -> Range<usize>
Retrieve the contiguous byte range occupied by this layout.
impl StructuralPartialEq for PlaneBytes
Auto Trait Implementations§
impl Freeze for PlaneBytes
impl RefUnwindSafe for PlaneBytes
impl Send for PlaneBytes
impl Sync for PlaneBytes
impl Unpin for PlaneBytes
impl UnwindSafe for PlaneBytes
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