[−][src]Enum nvtt_rs::AlphaMode
Specifies how the alpha should be interpreted on the image.
You can view wikipedia
for more information about alpha blending.
Variants
The image does not contain any alpha information.
The image uses premultiplied alpha.
The image uses straight alpha, where the color channels represent the straight color of the channel without transparency.
Trait Implementations
impl Clone for AlphaMode
[src]
impl Copy for AlphaMode
[src]
impl Debug for AlphaMode
[src]
impl Eq for AlphaMode
[src]
impl<'_> From<&'_ AlphaMode> for NvttAlphaMode
[src]
impl From<AlphaMode> for NvttAlphaMode
[src]
impl Hash for AlphaMode
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<AlphaMode> for AlphaMode
[src]
impl PartialEq<AlphaMode> for NvttAlphaMode
[src]
impl PartialEq<u32> for AlphaMode
[src]
fn eq(&self, rhs: &NvttAlphaMode) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for AlphaMode
[src]
impl StructuralPartialEq for AlphaMode
[src]
impl TryFrom<u32> for AlphaMode
[src]
type Error = EnumConvertError<NvttAlphaMode>
The type returned in the event of a conversion error.
fn try_from(raw: NvttAlphaMode) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for AlphaMode
impl Send for AlphaMode
impl Sync for AlphaMode
impl Unpin for AlphaMode
impl UnwindSafe for AlphaMode
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>,