[][src]Struct plexus::primitive::Quad

pub struct Quad<T> {
    pub a: T,
    pub b: T,
    pub c: T,
    pub d: T,
}

Fields

a: Tb: Tc: Td: T

Methods

impl<T> Quad<T>[src]

pub fn new(a: T, b: T, c: T, d: T) -> Self[src]

pub fn iter(&self) -> impl Iterator<Item = &T>[src]

Trait Implementations

impl<T> IntoVertices for Quad<T>[src]

type Output = ArrayVec<[Self::Vertex; 4]>

impl<T> IntoEdges for Quad<T> where
    T: Clone
[src]

type Output = ArrayVec<[Edge<Self::Vertex>; 4]>

impl<T> IntoTriangles for Quad<T> where
    T: Clone
[src]

impl<T> IntoSubdivisions for Quad<T> where
    T: Clone + Interpolate<Output = T>, 
[src]

impl<T> IntoTetrahedrons for Quad<T> where
    T: Clone + Interpolate<Output = T>, 
[src]

impl<T> Topological for Quad<T>[src]

type Vertex = T

impl<T> Polygonal for Quad<T>[src]

impl<T> Arity for Quad<T>[src]

impl<T> Converged for Quad<T> where
    T: Clone
[src]

impl<T> Rotate for Quad<T>[src]

impl<T, U> Map<U> for Quad<T>[src]

type Output = Quad<U>

impl<T: Copy> Copy for Quad<T>[src]

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

impl<T: Clone> Clone for Quad<T>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for Quad<T>[src]

impl<T> Index<usize> for Quad<T>[src]

type Output = T

The returned type after indexing.

impl<T> FromIterator<T> for Quad<T>[src]

Auto Trait Implementations

impl<T> Send for Quad<T> where
    T: Send

impl<T> Sync for Quad<T> where
    T: Sync

Blanket Implementations

impl<T> FromGeometry for T[src]

impl<T, U> IntoGeometry for T where
    U: FromGeometry<T>, 
[src]

impl<T, U> IntoInteriorGeometry for T where
    U: FromInteriorGeometry<T>, 
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T[src]

type Output = T

Should always be Self

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