[−][src]Enum bedrock::resources::ComponentSwizzle
Specify how a component is swizzled
Variants
the component is set to the identity swizzle
the component is set to zero
the component is set to either 1 or 1.0, depending on whether the type of the image view format is integer of floating-pointer respectively
the component is set to the value of the R component of the image
the component is set to the value of the G component of the image
the component is set to the value of the B component of the image
the component is set to the value of the A component of the image
Trait Implementations
impl Clone for ComponentSwizzle[src]
fn clone(&self) -> ComponentSwizzle[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ComponentSwizzle[src]
impl Debug for ComponentSwizzle[src]
impl Eq for ComponentSwizzle[src]
impl PartialEq<ComponentSwizzle> for ComponentSwizzle[src]
fn eq(&self, other: &ComponentSwizzle) -> bool[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for ComponentSwizzle[src]
impl StructuralPartialEq for ComponentSwizzle[src]
Auto Trait Implementations
impl RefUnwindSafe for ComponentSwizzle
impl Send for ComponentSwizzle
impl Sync for ComponentSwizzle
impl Unpin for ComponentSwizzle
impl UnwindSafe for ComponentSwizzle
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,
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.
fn to_owned(&self) -> T[src]
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.
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>,