Struct nannou_mesh::vertex::WithTexCoords [−][src]
pub struct WithTexCoords<V, T = Point2> {
pub vertex: V,
pub tex_coords: T,
}
Expand description
A vertex with some specified texture coordinates.
Fields
vertex: V
tex_coords: T
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 !=
.
impl<M, V, T> PushVertex<WithTexCoords<V, T>> for WithTexCoords<M, Vec<T>> where
M: PushVertex<V>,
impl<M, V, T> PushVertex<WithTexCoords<V, T>> for WithTexCoords<M, Vec<T>> where
M: PushVertex<V>,
Push the given vertex onto the mesh. Read more
Auto Trait Implementations
impl<V, T> RefUnwindSafe for WithTexCoords<V, T> where
T: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, T> Send for WithTexCoords<V, T> where
T: Send,
V: Send,
impl<V, T> Sync for WithTexCoords<V, T> where
T: Sync,
V: Sync,
impl<V, T> Unpin for WithTexCoords<V, T> where
T: Unpin,
V: Unpin,
impl<V, T> UnwindSafe for WithTexCoords<V, T> where
T: UnwindSafe,
V: 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