[−][src]Struct nannou::mesh::WithTexCoords
A Mesh
type with an added channel containing texture coordinates.
Trait Implementations
impl<M, T> ClearIndices for WithTexCoords<M, T> where
M: ClearIndices,
[src]
M: ClearIndices,
fn clear_indices(&mut self)
[src]
impl<M, T> ClearVertices for WithTexCoords<M, Vec<T>> where
M: ClearVertices,
[src]
M: ClearVertices,
fn clear_vertices(&mut self)
[src]
impl<M: Clone, T: Clone> Clone for WithTexCoords<M, T>
[src]
fn clone(&self) -> WithTexCoords<M, T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<M, T> Colors for WithTexCoords<M, T> where
M: Colors,
[src]
M: Colors,
type Color = M::Color
The color type stored within the channel.
type Colors = M::Colors
The channel type containing colors.
fn colors(&self) -> &Self::Colors
[src]
impl<M: Copy, T: Copy> Copy for WithTexCoords<M, T>
[src]
impl<M: Debug, T: Debug> Debug for WithTexCoords<M, T>
[src]
impl<M, T> Default for WithTexCoords<M, T> where
M: Default,
T: Default,
[src]
M: Default,
T: Default,
impl<M, T> Deref for WithTexCoords<M, T>
[src]
impl<M, T> DerefMut for WithTexCoords<M, T>
[src]
impl<'a, M, T> ExtendFromSlice<'a> for WithTexCoords<M, Vec<T>> where
M: ExtendFromSlice<'a>,
T: 'a + Clone,
[src]
M: ExtendFromSlice<'a>,
T: 'a + Clone,
type Slice = (&'a [T], M::Slice)
The slice type expected via the mesh. Read more
fn extend_from_slice(&mut self, slice: Self::Slice)
[src]
impl<M, T, I> GetVertex<I> for WithTexCoords<M, T> where
M: GetVertex<I>,
T: Channel,
T::Element: Clone,
I: Copy + TryInto<usize>,
[src]
M: GetVertex<I>,
T: Channel,
T::Element: Clone,
I: Copy + TryInto<usize>,
type Vertex = WithTexCoords<M::Vertex, T::Element>
The vertex type representing all channels of data within the mesh at a single index.
fn get_vertex(&self, index: I) -> Option<Self::Vertex>
[src]
impl<M, T> Indices for WithTexCoords<M, T> where
M: Indices,
[src]
M: Indices,
type Index = M::Index
The type used to index into the vertex buffer.
type Indices = M::Indices
The channel type containing indices.
fn indices(&self) -> &Self::Indices
[src]
impl<M, T> Normals for WithTexCoords<M, T> where
M: Normals,
[src]
M: Normals,
type Normal = M::Normal
The vector type used to represent the normal.
type Normals = M::Normals
The channel type containing vertex normals.
fn normals(&self) -> &Self::Normals
[src]
impl<M: PartialEq, T: PartialEq> PartialEq<WithTexCoords<M, T>> for WithTexCoords<M, T>
[src]
fn eq(&self, other: &WithTexCoords<M, T>) -> bool
[src]
fn ne(&self, other: &WithTexCoords<M, T>) -> bool
[src]
impl<M, T> Points for WithTexCoords<M, T> where
M: Points,
[src]
M: Points,
type Point = M::Point
The vertex type used to represent the location of a vertex.
type Points = M::Points
The channel type containing points.
fn points(&self) -> &Self::Points
[src]
impl<M, T> PushIndex for WithTexCoords<M, T> where
M: PushIndex,
[src]
M: PushIndex,
type Index = M::Index
The inner index type.
fn push_index(&mut self, index: Self::Index)
[src]
fn extend_indices<I>(&mut self, indices: I) where
I: IntoIterator<Item = Self::Index>,
[src]
I: IntoIterator<Item = Self::Index>,
impl<M, V, T> PushVertex<WithTexCoords<V, T>> for WithTexCoords<M, Vec<T>> where
M: PushVertex<V>,
[src]
M: PushVertex<V>,
fn push_vertex(&mut self, v: WithTexCoords<V, T>)
[src]
impl<M, T> StructuralPartialEq for WithTexCoords<M, T>
[src]
impl<M, T> TexCoords for WithTexCoords<M, T> where
T: Channel,
[src]
T: Channel,
Auto Trait Implementations
impl<M, T> RefUnwindSafe for WithTexCoords<M, T> where
M: RefUnwindSafe,
T: RefUnwindSafe,
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<M, T> Send for WithTexCoords<M, T> where
M: Send,
T: Send,
M: Send,
T: Send,
impl<M, T> Sync for WithTexCoords<M, T> where
M: Sync,
T: Sync,
M: Sync,
T: Sync,
impl<M, T> Unpin for WithTexCoords<M, T> where
M: Unpin,
T: Unpin,
M: Unpin,
T: Unpin,
impl<M, T> UnwindSafe for WithTexCoords<M, T> where
M: UnwindSafe,
T: UnwindSafe,
M: UnwindSafe,
T: 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]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Clear for T where
T: ClearIndices + ClearVertices,
[src]
T: ClearIndices + ClearVertices,
impl<T, U> ConvertInto<U> for T where
U: ConvertFrom<T>,
[src]
U: ConvertFrom<T>,
fn convert_into(self) -> U
[src]
fn convert_unclamped_into(self) -> U
[src]
fn try_convert_into(self) -> Result<U, OutOfBounds<U>>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> MemoryUsage for T where
T: Deref + Debug,
<T as Deref>::Target: MemoryUsage,
T: Deref + Debug,
<T as Deref>::Target: MemoryUsage,
fn properties_required(&self) -> Properties
fn memory_fitness(&self, properties: Properties) -> u32
fn allocator_fitness(&self, kind: Kind) -> u32
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> Style for T where
T: Any + Debug + PartialEq<T>,
[src]
T: Any + Debug + PartialEq<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,