Enum shades::SwizzleSelector [−][src]
Select a channel to extract from into a swizzled expession.
Variants
Select the .x
(or .r
) channel.
Select the .y
(or .g
) channel.
Select the .z
(or .b
) channel.
Select the .w
(or .a
) channel.
Trait Implementations
impl Clone for SwizzleSelector
[src]
fn clone(&self) -> SwizzleSelector
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SwizzleSelector
[src]
impl Debug for SwizzleSelector
[src]
impl Eq for SwizzleSelector
[src]
impl PartialEq<SwizzleSelector> for SwizzleSelector
[src]
fn eq(&self, other: &SwizzleSelector) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for SwizzleSelector
[src]
impl StructuralPartialEq for SwizzleSelector
[src]
impl<T> Swizzlable<SwizzleSelector> for Expr<V2<T>>
[src]
fn swizzle(&self, x: SwizzleSelector) -> Self
[src]
impl<T> Swizzlable<SwizzleSelector> for Expr<V3<T>>
[src]
fn swizzle(&self, x: SwizzleSelector) -> Self
[src]
impl<T> Swizzlable<SwizzleSelector> for Expr<V4<T>>
[src]
fn swizzle(&self, x: SwizzleSelector) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for SwizzleSelector
[src]
impl Send for SwizzleSelector
[src]
impl Sync for SwizzleSelector
[src]
impl Unpin for SwizzleSelector
[src]
impl UnwindSafe for SwizzleSelector
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,