Struct nannou_mesh::MeshPoints [−][src]
pub struct MeshPoints<P> { /* fields omitted */ }
Expand description
The base mesh type with only a single vertex channel.
Extra channels can be added to the mesh via the WithIndices
, WithColors
, WithTexCoords
and WithNormals
adaptor types.
Trait Implementations
Clear all vertices from the mesh.
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<P> RefUnwindSafe for MeshPoints<P> where
P: RefUnwindSafe,
impl<P> Send for MeshPoints<P> where
P: Send,
impl<P> Sync for MeshPoints<P> where
P: Sync,
impl<P> Unpin for MeshPoints<P> where
P: Unpin,
impl<P> UnwindSafe for MeshPoints<P> where
P: UnwindSafe,
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
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