[][src]Struct nannou::mesh::vertex::WithTexCoords

pub struct WithTexCoords<V, T = Point2<Default>> {
    pub vertex: V,
    pub tex_coords: T,
}

A vertex with some specified texture coordinates.

Fields

vertex: Vtex_coords: T

Methods

impl<S> WithTexCoords<WithColor<Vector3<S>, Alpha<Rgb<Linear<Srgb>, f32>, f32>>, Vector2<S>>[src]

pub fn point(&self) -> &Point<S>[src]

Borrow the inner Point.

pub fn point_mut(&mut self) -> &mut Point<S>[src]

Mutably borrow the inner Point.

Trait Implementations

impl<S, V, T> ApplyTransform<S> for WithTexCoords<V, T> where
    V: ApplyTransform<S>,
    S: BaseFloat
[src]

impl<V: Clone, T: Clone> Clone for WithTexCoords<V, T>[src]

impl<V: Copy, T: Copy> Copy for WithTexCoords<V, T>[src]

impl<V: Debug, T: Debug> Debug for WithTexCoords<V, T>[src]

impl<V: Default, T: Default> Default for WithTexCoords<V, T>[src]

impl<V, T> Deref for WithTexCoords<V, T>[src]

type Target = V

The resulting type after dereferencing.

impl<V, T> DerefMut for WithTexCoords<V, T>[src]

impl<A, V, T> From<(A, T)> for WithTexCoords<V, T> where
    A: Into<V>, 
[src]

impl<V: PartialEq, T: PartialEq> PartialEq<WithTexCoords<V, T>> for WithTexCoords<V, T>[src]

impl<M, V, T> PushVertex<WithTexCoords<V, T>> for WithTexCoords<M, Vec<T>> where
    M: PushVertex<V>, 
[src]

impl<S> PushVertex<WithTexCoords<WithColor<Vector3<S>, Alpha<Rgb<Linear<Srgb>, f32>, f32>>, Vector2<S>>> for Mesh<S>[src]

impl<V, T> StructuralPartialEq for WithTexCoords<V, T>[src]

impl<V, T> Vertex for WithTexCoords<V, T> where
    V: Vertex,
    T: Clone + Copy + PartialEq
[src]

type Scalar = V::Scalar

The values used to describe the vertex position.

impl<V, T> Vertex2d for WithTexCoords<V, T> where
    V: Vertex2d,
    Self: Vertex<Scalar = V::Scalar>, 
[src]

impl<V, T> Vertex3d for WithTexCoords<V, T> where
    V: Vertex3d,
    Self: Vertex<Scalar = V::Scalar>, 
[src]

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
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

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

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

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

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

impl<T> MemoryUsage for T where
    T: Deref + Debug,
    <T as Deref>::Target: MemoryUsage, 

impl<T> SetParameter for T

impl<T> SetParameter for T

impl<T> Style for T where
    T: Any + Debug + PartialEq<T>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<V, T> VZip<V> for T where
    V: MultiLane<T>,