Struct nannou::mesh::vertex::WithTexCoords [−][src]
pub struct WithTexCoords<V, T = Point2<DefaultScalar>> { pub vertex: V, pub tex_coords: T, }
A vertex with some specified texture coordinates.
Fields
vertex: V
tex_coords: T
Trait Implementations
impl<V: Copy, T: Copy> Copy for WithTexCoords<V, T>
[src]
impl<V: Copy, T: Copy> Copy for WithTexCoords<V, T>
impl<V: Clone, T: Clone> Clone for WithTexCoords<V, T>
[src]
impl<V: Clone, T: Clone> Clone for WithTexCoords<V, T>
fn clone(&self) -> WithTexCoords<V, T>
[src]
fn clone(&self) -> WithTexCoords<V, T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<V: Debug, T: Debug> Debug for WithTexCoords<V, T>
[src]
impl<V: Debug, T: Debug> Debug for WithTexCoords<V, T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<V: Default, T: Default> Default for WithTexCoords<V, T>
[src]
impl<V: Default, T: Default> Default for WithTexCoords<V, T>
fn default() -> WithTexCoords<V, T>
[src]
fn default() -> WithTexCoords<V, T>
Returns the "default value" for a type. Read more
impl<V: PartialEq, T: PartialEq> PartialEq for WithTexCoords<V, T>
[src]
impl<V: PartialEq, T: PartialEq> PartialEq for WithTexCoords<V, T>
fn eq(&self, other: &WithTexCoords<V, T>) -> bool
[src]
fn eq(&self, other: &WithTexCoords<V, T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &WithTexCoords<V, T>) -> bool
[src]
fn ne(&self, other: &WithTexCoords<V, T>) -> bool
This method tests for !=
.
impl<S, V, T> ApplyTransform<S> for WithTexCoords<V, T> where
V: ApplyTransform<S>,
S: BaseFloat,
[src]
impl<S, V, T> ApplyTransform<S> for WithTexCoords<V, T> where
V: ApplyTransform<S>,
S: BaseFloat,
fn apply_transform(self, transform: &PreparedTransform<S>) -> Self
[src]
fn apply_transform(self, transform: &PreparedTransform<S>) -> Self
Apply the given transform and return the result.
impl<V, T> Deref for WithTexCoords<V, T>
[src]
impl<V, T> Deref for WithTexCoords<V, T>
type Target = V
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl<V, T> DerefMut for WithTexCoords<V, T>
[src]
impl<V, T> DerefMut for WithTexCoords<V, T>
impl<V, T> Vertex for WithTexCoords<V, T> where
V: Vertex,
T: Clone + Copy + PartialEq,
[src]
impl<V, T> Vertex for WithTexCoords<V, T> where
V: Vertex,
T: Clone + Copy + PartialEq,
impl<V, T> Vertex2d for WithTexCoords<V, T> where
V: Vertex2d,
Self: Vertex<Scalar = V::Scalar>,
[src]
impl<V, T> Vertex2d for WithTexCoords<V, T> where
V: Vertex2d,
Self: Vertex<Scalar = V::Scalar>,
impl<V, T> Vertex3d for WithTexCoords<V, T> where
V: Vertex3d,
Self: Vertex<Scalar = V::Scalar>,
[src]
impl<V, T> Vertex3d for WithTexCoords<V, T> where
V: Vertex3d,
Self: Vertex<Scalar = V::Scalar>,
impl<M, V, T, S> PushVertex<WithTexCoords<V, T>> for WithTexCoords<M, Vec<T>, S> where
M: PushVertex<V>,
[src]
impl<M, V, T, S> PushVertex<WithTexCoords<V, T>> for WithTexCoords<M, Vec<T>, S> where
M: PushVertex<V>,
fn push_vertex(&mut self, v: WithTexCoords<V, T>)
[src]
fn push_vertex(&mut self, v: WithTexCoords<V, T>)
Push the given vertex onto the mesh. Read more
Auto Trait Implementations
impl<V, T> Send for WithTexCoords<V, T> where
T: Send,
V: Send,
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> Sync for WithTexCoords<V, T> where
T: Sync,
V: Sync,