pub struct ChannelLayout<T> { /* private fields */ }
Expand description
A typed layout with uniform spaced (color) channels.
Implementations§
Source§impl<T> ChannelLayout<T>
impl<T> ChannelLayout<T>
Trait Implementations§
Source§impl<T: Clone> Clone for ChannelLayout<T>
impl<T: Clone> Clone for ChannelLayout<T>
Source§fn clone(&self) -> ChannelLayout<T>
fn clone(&self) -> ChannelLayout<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<ChannelLayout<T>> for ChannelBytes
impl<T> Decay<ChannelLayout<T>> for ChannelBytes
fn decay(from: ChannelLayout<T>) -> Self
Source§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: PartialEq> PartialEq for ChannelLayout<T>
impl<T: PartialEq> PartialEq for ChannelLayout<T>
Source§impl<T> SliceLayout for ChannelLayout<T>
impl<T> SliceLayout for ChannelLayout<T>
impl<T> StructuralPartialEq for ChannelLayout<T>
Auto Trait Implementations§
impl<T> Freeze for ChannelLayout<T>
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§
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