pub enum ChannelMask {
R,
G,
B,
A,
}
Expand description
Helper type used to mask ImageSource
’s channels
Variants§
Trait Implementations§
Source§impl Clone for ChannelMask
impl Clone for ChannelMask
Source§fn clone(&self) -> ChannelMask
fn clone(&self) -> ChannelMask
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for ChannelMask
Auto Trait Implementations§
impl Freeze for ChannelMask
impl RefUnwindSafe for ChannelMask
impl Send for ChannelMask
impl Sync for ChannelMask
impl Unpin for ChannelMask
impl UnwindSafe for ChannelMask
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