Struct image_canvas::layout::PlanarLayout
source · [−]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
sourceimpl<T> PlanarLayout<T>
impl<T> PlanarLayout<T>
Trait Implementations
sourceimpl<T: Clone> Clone for PlanarLayout<T>
impl<T: Clone> Clone for PlanarLayout<T>
sourcefn clone(&self) -> PlanarLayout<T>
fn clone(&self) -> PlanarLayout<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<T> Decay<PlanarLayout<[T; 1]>> for ChannelLayout<T>
impl<T> Decay<PlanarLayout<[T; 1]>> for ChannelLayout<T>
fn decay(from: PlanarLayout<[T; 1]>) -> Self
sourceimpl<T> Decay<PlanarLayout<[T; 2]>> for ChannelLayout<T>
impl<T> Decay<PlanarLayout<[T; 2]>> for ChannelLayout<T>
fn decay(from: PlanarLayout<[T; 2]>) -> Self
sourceimpl<T> Decay<PlanarLayout<[T; 3]>> for ChannelLayout<T>
impl<T> Decay<PlanarLayout<[T; 3]>> for ChannelLayout<T>
fn decay(from: PlanarLayout<[T; 3]>) -> Self
sourceimpl<T> Decay<PlanarLayout<[T; 4]>> for ChannelLayout<T>
impl<T> Decay<PlanarLayout<[T; 4]>> for ChannelLayout<T>
fn decay(from: PlanarLayout<[T; 4]>) -> Self
sourceimpl<T> Decay<PlanarLayout<T>> for PlaneBytes
impl<T> Decay<PlanarLayout<T>> for PlaneBytes
fn decay(from: PlanarLayout<T>) -> Self
sourceimpl<T: PartialEq> PartialEq<PlanarLayout<T>> for PlanarLayout<T>
impl<T: PartialEq> PartialEq<PlanarLayout<T>> for PlanarLayout<T>
sourcefn eq(&self, other: &PlanarLayout<T>) -> bool
fn eq(&self, other: &PlanarLayout<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PlanarLayout<T>) -> bool
fn ne(&self, other: &PlanarLayout<T>) -> bool
This method tests for !=
.
sourceimpl<T> Raster<T> for PlanarLayout<T>
impl<T> Raster<T> for PlanarLayout<T>
sourceimpl<T> SliceLayout for PlanarLayout<T>
impl<T> SliceLayout for PlanarLayout<T>
impl<T> StructuralPartialEq for PlanarLayout<T>
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more