#[repr(u8)]pub enum ChannelSource {
Zero = 0,
X = 2,
Y = 3,
Z = 4,
W = 5,
}Expand description
Source channel in a swizzle configuration. Some may redirect onto different physical channels, some may be hardcoded to 0 or 1.
Variants§
Trait Implementations§
Source§impl Clone for ChannelSource
impl Clone for ChannelSource
Source§fn clone(&self) -> ChannelSource
fn clone(&self) -> ChannelSource
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 moreSource§impl Debug for ChannelSource
impl Debug for ChannelSource
Source§impl Hash for ChannelSource
impl Hash for ChannelSource
Source§impl Ord for ChannelSource
impl Ord for ChannelSource
Source§fn cmp(&self, other: &ChannelSource) -> Ordering
fn cmp(&self, other: &ChannelSource) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ChannelSource
impl PartialEq for ChannelSource
Source§impl PartialOrd for ChannelSource
impl PartialOrd for ChannelSource
impl Copy for ChannelSource
impl Eq for ChannelSource
impl StructuralPartialEq for ChannelSource
Auto Trait Implementations§
impl Freeze for ChannelSource
impl RefUnwindSafe for ChannelSource
impl Send for ChannelSource
impl Sync for ChannelSource
impl Unpin for ChannelSource
impl UnwindSafe for ChannelSource
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