pub struct PlanarLayout<T> { /* private fields */ }
Expand description
The typed matrix layout of a single plane of the image.
Note that this is not fully public like the related PlaneBytes
as we have invariants
relating the texel type to alignment and offset of the matrix within the image.
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for PlanarLayout<T>
impl<T: Clone> Clone for PlanarLayout<T>
Source§fn clone(&self) -> PlanarLayout<T>
fn clone(&self) -> PlanarLayout<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T> Decay<PlanarLayout<[T; 1]>> for ChannelLayout<T>
impl<T> Decay<PlanarLayout<[T; 1]>> for ChannelLayout<T>
fn decay(from: PlanarLayout<[T; 1]>) -> Self
Source§impl<T> Decay<PlanarLayout<[T; 2]>> for ChannelLayout<T>
impl<T> Decay<PlanarLayout<[T; 2]>> for ChannelLayout<T>
fn decay(from: PlanarLayout<[T; 2]>) -> Self
Source§impl<T> Decay<PlanarLayout<[T; 3]>> for ChannelLayout<T>
impl<T> Decay<PlanarLayout<[T; 3]>> for ChannelLayout<T>
fn decay(from: PlanarLayout<[T; 3]>) -> Self
Source§impl<T> Decay<PlanarLayout<[T; 4]>> for ChannelLayout<T>
impl<T> Decay<PlanarLayout<[T; 4]>> for ChannelLayout<T>
fn decay(from: PlanarLayout<[T; 4]>) -> Self
Source§impl<T> Decay<PlanarLayout<T>> for PlaneBytes
impl<T> Decay<PlanarLayout<T>> for PlaneBytes
fn decay(from: PlanarLayout<T>) -> Self
Source§impl<T: PartialEq> PartialEq for PlanarLayout<T>
impl<T: PartialEq> PartialEq for PlanarLayout<T>
Source§impl<T> Raster<T> for PlanarLayout<T>
impl<T> Raster<T> for PlanarLayout<T>
Source§impl<T> SliceLayout for PlanarLayout<T>
impl<T> SliceLayout for PlanarLayout<T>
impl<T> StructuralPartialEq for PlanarLayout<T>
Auto Trait Implementations§
impl<T> Freeze for PlanarLayout<T>
impl<T> RefUnwindSafe for PlanarLayout<T>where
T: RefUnwindSafe,
impl<T> Send for PlanarLayout<T>where
T: Send,
impl<T> Sync for PlanarLayout<T>where
T: Sync,
impl<T> Unpin for PlanarLayout<T>where
T: Unpin,
impl<T> UnwindSafe for PlanarLayout<T>where
T: UnwindSafe,
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