[][src]Struct valora::forms::Ngon

pub struct Ngon { /* fields omitted */ }

Methods

impl Ngon[src]

pub fn new(c: P2, n: usize, r: f32) -> Self[src]

pub fn triangle(c: P2, r: f32) -> Self[src]

pub fn square(c: P2, r: f32) -> Self[src]

pub fn diamond(c: P2, r: f32) -> Self[src]

pub fn rotate(&mut self, phase: f32)[src]

Trait Implementations

impl Clone for Ngon[src]

impl Copy for Ngon[src]

impl Debug for Ngon[src]

impl Iterator for Ngon[src]

type Item = P2

The type of the elements being iterated over.

impl Paint for Ngon[src]

impl Scale for Ngon[src]

impl Translate for Ngon[src]

Auto Trait Implementations

impl RefUnwindSafe for Ngon

impl Send for Ngon

impl Sync for Ngon

impl Unpin for Ngon

impl UnwindSafe for Ngon

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[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> Content for T where
    T: Copy
[src]

type Owned = T

A type that holds a sized version of the content.

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<T> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<P> Paint for P where
    P: Iterator<Item = PathEvent> + Clone
[src]

impl<T> ParallelBridge for T where
    T: Send + Iterator,
    <T as Iterator>::Item: Send
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

impl<T> SetParameter for T

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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<V, T> VZip<V> for T where
    V: MultiLane<T>,