Struct image_canvas::layout::ChannelLayout
source · [−]pub struct ChannelLayout<T> { /* private fields */ }
Expand description
A typed layout with uniform spaced (color) channels.
Implementations
sourceimpl<T> ChannelLayout<T>
impl<T> ChannelLayout<T>
Trait Implementations
sourceimpl<T: Clone> Clone for ChannelLayout<T>
impl<T: Clone> Clone for ChannelLayout<T>
sourcefn clone(&self) -> ChannelLayout<T>
fn clone(&self) -> ChannelLayout<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<ChannelLayout<T>> for ChannelBytes
impl<T> Decay<ChannelLayout<T>> for ChannelBytes
fn decay(from: ChannelLayout<T>) -> Self
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: PartialEq> PartialEq<ChannelLayout<T>> for ChannelLayout<T>
impl<T: PartialEq> PartialEq<ChannelLayout<T>> for ChannelLayout<T>
sourcefn eq(&self, other: &ChannelLayout<T>) -> bool
fn eq(&self, other: &ChannelLayout<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ChannelLayout<T>) -> bool
fn ne(&self, other: &ChannelLayout<T>) -> bool
This method tests for !=
.
sourceimpl<T> SliceLayout for ChannelLayout<T>
impl<T> SliceLayout for ChannelLayout<T>
impl<T> StructuralPartialEq for ChannelLayout<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for ChannelLayout<T> where
T: RefUnwindSafe,
impl<T> Send for ChannelLayout<T> where
T: Send,
impl<T> Sync for ChannelLayout<T> where
T: Sync,
impl<T> Unpin for ChannelLayout<T> where
T: Unpin,
impl<T> UnwindSafe for ChannelLayout<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