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