[−][src]Enum bedrock::DisplayPlaneAlpha
Alpha blending type
Variants
The source image will be treated as opaque
A global alpha value must be specified that will be applied to all pixels in the source image
The alpha value will be determined by the alpha channel of the source image's pixels. If the source format contains no alpha values, no blending will be applied. The source alpha values are not premultiplied into the source image's other color channels
This is equivalent to PerPixel
except the source alpha values are assumed to be premultiplied into the source image's other color channels
Trait Implementations
impl Clone for DisplayPlaneAlpha
[src]
fn clone(&self) -> DisplayPlaneAlpha
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DisplayPlaneAlpha
[src]
impl Debug for DisplayPlaneAlpha
[src]
impl Eq for DisplayPlaneAlpha
[src]
impl PartialEq<DisplayPlaneAlpha> for DisplayPlaneAlpha
[src]
fn eq(&self, other: &DisplayPlaneAlpha) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for DisplayPlaneAlpha
[src]
impl StructuralPartialEq for DisplayPlaneAlpha
[src]
Auto Trait Implementations
impl RefUnwindSafe for DisplayPlaneAlpha
impl Send for DisplayPlaneAlpha
impl Sync for DisplayPlaneAlpha
impl Unpin for DisplayPlaneAlpha
impl UnwindSafe for DisplayPlaneAlpha
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>,