Struct nannou::mesh::vertex::WithNormal [−][src]
pub struct WithNormal<V, N = Default> { pub vertex: V, pub normal: N, }
Expand description
A vertex with its normal vector.
Fields
vertex: V
normal: N
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Push the given vertex onto the mesh. Read more
Auto Trait Implementations
impl<V, N> RefUnwindSafe for WithNormal<V, N> where
N: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, N> Send for WithNormal<V, N> where
N: Send,
V: Send,
impl<V, N> Sync for WithNormal<V, N> where
N: Sync,
V: Sync,
impl<V, N> Unpin for WithNormal<V, N> where
N: Unpin,
V: Unpin,
impl<V, N> UnwindSafe for WithNormal<V, N> where
N: UnwindSafe,
V: 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,
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,
Mutably borrows from an owned value. Read more
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined range,
otherwise an OutOfBounds
error is returned which contains the unclamped color. Read more
pub fn vzip(self) -> V