[−][src]Struct nannou::mesh::WithColors
A Mesh
type with an added channel containing colors.
Trait Implementations
impl<M, C> GetVertex for WithColors<M, C> where
M: GetVertex,
C: Channel,
C::Element: Clone,
[src]
M: GetVertex,
C: Channel,
C::Element: Clone,
type Vertex = WithColor<M::Vertex, C::Element>
The vertex type representing all channels of data within the mesh at a single index.
fn get_vertex(&self, index: usize) -> Option<Self::Vertex>
[src]
impl<M, C> Points for WithColors<M, C> where
M: Points,
[src]
M: Points,
type Scalar = M::Scalar
The scalar value used for the vertex coordinates.
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, C> Indices for WithColors<M, C> where
M: Indices,
[src]
M: Indices,
type Indices = M::Indices
The channel type containing indices.
fn indices(&self) -> &Self::Indices
[src]
impl<M, C> Colors for WithColors<M, C> where
C: Channel,
[src]
C: Channel,
type Color = C::Element
The color type stored within the channel.
type Colors = C
The channel type containing colors.
fn colors(&self) -> &Self::Colors
[src]
impl<M, C> TexCoords for WithColors<M, C> where
M: TexCoords,
[src]
M: TexCoords,
type TexCoordScalar = M::TexCoordScalar
The scalar value used for the texture coordinates.
type TexCoords = M::TexCoords
The channel type containing texture coordinates.
fn tex_coords(&self) -> &Self::TexCoords
[src]
impl<M, C> Normals for WithColors<M, C> where
M: Normals,
M::Point: EuclideanSpace,
[src]
M: Normals,
M::Point: EuclideanSpace,
type Normals = M::Normals
The channel type containing vertex normals.
fn normals(&self) -> &Self::Normals
[src]
impl<M, V, C> PushVertex<WithColor<V, C>> for WithColors<M, Vec<C>> where
M: PushVertex<V>,
[src]
M: PushVertex<V>,
fn push_vertex(&mut self, v: WithColor<V, C>)
[src]
impl<M, C> PushIndex for WithColors<M, C> where
M: PushIndex,
[src]
M: PushIndex,
fn push_index(&mut self, index: usize)
[src]
fn extend_indices<I>(&mut self, indices: I) where
I: IntoIterator<Item = usize>,
[src]
I: IntoIterator<Item = usize>,
impl<M, C> ClearIndices for WithColors<M, C> where
M: ClearIndices,
[src]
M: ClearIndices,
fn clear_indices(&mut self)
[src]
impl<M, C> ClearVertices for WithColors<M, Vec<C>> where
M: ClearVertices,
[src]
M: ClearVertices,
fn clear_vertices(&mut self)
[src]
impl<M: PartialEq, C: PartialEq> PartialEq<WithColors<M, C>> for WithColors<M, C>
[src]
fn eq(&self, other: &WithColors<M, C>) -> bool
[src]
fn ne(&self, other: &WithColors<M, C>) -> bool
[src]
impl<M: Clone, C: Clone> Clone for WithColors<M, C>
[src]
fn clone(&self) -> WithColors<M, C>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<M, C> Default for WithColors<M, C> where
M: Default,
C: Default,
[src]
M: Default,
C: Default,
impl<M: Copy, C: Copy> Copy for WithColors<M, C>
[src]
impl<M, C> DerefMut for WithColors<M, C>
[src]
impl<M: Debug, C: Debug> Debug for WithColors<M, C>
[src]
impl<M, C> Deref for WithColors<M, C>
[src]
Auto Trait Implementations
impl<M, C> Send for WithColors<M, C> where
C: Send,
M: Send,
C: Send,
M: Send,
impl<M, C> Sync for WithColors<M, C> where
C: Sync,
M: Sync,
C: Sync,
M: Sync,
Blanket Implementations
impl<T> Clear for T where
T: ClearIndices + ClearVertices,
[src]
T: ClearIndices + ClearVertices,
impl<T> From<T> for T
[src]
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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<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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Style for T where
T: Any + Debug + PartialEq<T>,
[src]
T: Any + Debug + PartialEq<T>,
impl<T> DeviceOwned for T where
T: Deref,
<T as Deref>::Target: DeviceOwned,
[src]
T: Deref,
<T as Deref>::Target: DeviceOwned,
impl<T> Content for T
[src]
fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]
fn is_size_suitable(size: usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> SafeBorrow<T> for T
[src]
impl<T> Erased for T
impl<S> FromSample<S> for S
[src]
fn from_sample_(s: S) -> S
[src]
impl<T, U> ToSample<U> for T where
U: FromSample<T>,
[src]
U: FromSample<T>,
fn to_sample_(self) -> U
[src]
impl<S, T> Duplex<S> for T where
T: FromSample<S> + ToSample<S>,
[src]
T: FromSample<S> + ToSample<S>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
Sets value
as a parameter of 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>,
Sets value
as a parameter of self
.