[][src]Struct gfx_hal::pso::BlendDesc

pub struct BlendDesc {
    pub logic_op: Option<LogicOp>,
    pub targets: Vec<ColorBlendDesc>,
}

A description of an equation for how to blend transparent, overlapping fragments.

Fields

logic_op: Option<LogicOp>

The logic operation to apply to the blending equation, if any.

targets: Vec<ColorBlendDesc>

Which color targets to apply the blending operation to.

Trait Implementations

impl Clone for BlendDesc[src]

impl Default for BlendDesc[src]

impl PartialEq<BlendDesc> for BlendDesc[src]

impl Debug for BlendDesc[src]

impl StructuralPartialEq for BlendDesc[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]