[][src]Struct nvg::Paint

pub struct Paint {
    pub xform: Transform,
    pub extent: Extent,
    pub radius: f32,
    pub feather: f32,
    pub inner_color: Color,
    pub outer_color: Color,
    pub image: Option<ImageId>,
}

Fields

xform: Transformextent: Extentradius: f32feather: f32inner_color: Colorouter_color: Colorimage: Option<ImageId>

Trait Implementations

impl Clone for Paint[src]

impl Copy for Paint[src]

impl Debug for Paint[src]

impl From<Gradient> for Paint[src]

impl From<ImagePattern> for Paint[src]

impl<T: Into<Color> + Clone> From<T> for Paint[src]

Auto Trait Implementations

impl RefUnwindSafe for Paint

impl Send for Paint

impl Sync for Paint

impl Unpin for Paint

impl UnwindSafe for Paint

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> SetParameter for T

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.