[][src]Struct raqote::DrawOptions

pub struct DrawOptions {
    pub blend_mode: BlendMode,
    pub alpha: f32,
    pub antialias: AntialiasMode,
}

Fields

blend_mode: BlendModealpha: f32antialias: AntialiasMode

Methods

impl DrawOptions[src]

pub fn new() -> Self[src]

Trait Implementations

impl Clone for DrawOptions[src]

impl Copy for DrawOptions[src]

impl Debug for DrawOptions[src]

impl Default for DrawOptions[src]

impl PartialEq<DrawOptions> for DrawOptions[src]

impl StructuralPartialEq for DrawOptions[src]

Auto Trait Implementations

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.