Struct nannou::draw::primitive::path::PathInit[][src]

pub struct PathInit<S = Default>(_);

The beginning of the path building process, prior to choosing the tessellation mode (fill or stroke).

Implementations

impl<S> PathInit<S>[src]

pub fn fill(self) -> PathFill<S> where
    S: Zero
[src]

Specify that we want to use fill tessellation for the path.

The returned building context allows for specifying the fill tessellation options.

pub fn stroke(self) -> PathStroke<S> where
    S: Zero
[src]

Specify that we want to use stroke tessellation for the path.

The returned building context allows for specifying the stroke tessellation options.

Trait Implementations

impl<S: Clone> Clone for PathInit<S>[src]

impl<S: Debug> Debug for PathInit<S>[src]

impl<S> Default for PathInit<S>[src]

impl<S> From<PathInit<S>> for Primitive<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for PathInit<S> where
    S: RefUnwindSafe

impl<S> Send for PathInit<S> where
    S: Send

impl<S> Sync for PathInit<S> where
    S: Sync

impl<S> Unpin for PathInit<S> where
    S: Unpin

impl<S> UnwindSafe for PathInit<S> where
    S: UnwindSafe

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    T: Component + Float,
    D: AdaptFrom<S, Swp, Dwp, T>,
    Swp: WhitePoint,
    Dwp: WhitePoint
[src]

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, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> Downcast<T> for T

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

impl<T> Instrument for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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.

impl<T> Upcast<T> for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,