Struct gfx::state::RefValues[][src]

pub struct RefValues {
    pub stencil: (u8, u8),
    pub blend: [f32; 4],
}

The complete set of the rasterizer reference values. Switching these doesn’t roll the hardware context.

Fields

stencil: (u8, u8)

Stencil front and back values.

blend: [f32; 4]

Constant blend color.

Trait Implementations

impl Clone for RefValues[src]

impl Copy for RefValues[src]

impl Debug for RefValues[src]

impl Default for RefValues[src]

impl PartialEq<RefValues> for RefValues[src]

impl PartialOrd<RefValues> for RefValues[src]

impl StructuralPartialEq for RefValues[src]

Auto Trait Implementations

impl RefUnwindSafe for RefValues

impl Send for RefValues

impl Sync for RefValues

impl Unpin for RefValues

impl UnwindSafe for RefValues

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.