[−][src]Struct nannou::mesh::WithIndices
A mesh type with an added channel containing indices describing the edges between vertices.
Trait Implementations
impl<M, I> ClearIndices for WithIndices<M, Vec<I>>
[src]
fn clear_indices(&mut self)
[src]
impl<M, I> ClearVertices for WithIndices<M, Vec<I>> where
M: ClearVertices,
[src]
M: ClearVertices,
fn clear_vertices(&mut self)
[src]
impl<M: Clone, I: Clone> Clone for WithIndices<M, I>
[src]
fn clone(&self) -> WithIndices<M, I>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<M, I> Colors for WithIndices<M, I> 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, I: Copy> Copy for WithIndices<M, I>
[src]
impl<M: Debug, I: Debug> Debug for WithIndices<M, I>
[src]
impl<M, I> Default for WithIndices<M, I> where
M: Default,
I: Default,
[src]
M: Default,
I: Default,
impl<M, I> Deref for WithIndices<M, I>
[src]
impl<M, I> DerefMut for WithIndices<M, I>
[src]
impl<'a, M, I> ExtendFromSlice<'a> for WithIndices<M, Vec<I>> where
M: ExtendFromSlice<'a>,
I: 'a + Clone,
[src]
M: ExtendFromSlice<'a>,
I: 'a + Clone,
type Slice = (&'a [I], M::Slice)
The slice type expected via the mesh. Read more
fn extend_from_slice(&mut self, slice: Self::Slice)
[src]
impl<M, I, Ix> GetVertex<Ix> for WithIndices<M, I> where
M: GetVertex<Ix>,
[src]
M: GetVertex<Ix>,
type Vertex = M::Vertex
The vertex type representing all channels of data within the mesh at a single index.
fn get_vertex(&self, index: Ix) -> Option<Self::Vertex>
[src]
impl<M, I> Indices for WithIndices<M, I> where
I: Channel,
[src]
I: Channel,
type Index = I::Element
The type used to index into the vertex buffer.
type Indices = I
The channel type containing indices.
fn indices(&self) -> &Self::Indices
[src]
impl<M, I> Normals for WithIndices<M, I> 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, I: PartialEq> PartialEq<WithIndices<M, I>> for WithIndices<M, I>
[src]
fn eq(&self, other: &WithIndices<M, I>) -> bool
[src]
fn ne(&self, other: &WithIndices<M, I>) -> bool
[src]
impl<M, I> Points for WithIndices<M, I> 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, I> PushIndex for WithIndices<M, Vec<I>>
[src]
type Index = I
The inner index type.
fn push_index(&mut self, index: Self::Index)
[src]
fn extend_indices<It>(&mut self, indices: It) where
It: IntoIterator<Item = Self::Index>,
[src]
It: IntoIterator<Item = Self::Index>,
impl<M, I, V> PushVertex<V> for WithIndices<M, Vec<I>> where
M: PushVertex<V>,
[src]
M: PushVertex<V>,
fn push_vertex(&mut self, v: V)
[src]
impl<M, I> StructuralPartialEq for WithIndices<M, I>
[src]
impl<M, I> TexCoords for WithIndices<M, I> where
M: TexCoords,
[src]
M: TexCoords,
Auto Trait Implementations
impl<M, I> RefUnwindSafe for WithIndices<M, I> where
I: RefUnwindSafe,
M: RefUnwindSafe,
I: RefUnwindSafe,
M: RefUnwindSafe,
impl<M, I> Send for WithIndices<M, I> where
I: Send,
M: Send,
I: Send,
M: Send,
impl<M, I> Sync for WithIndices<M, I> where
I: Sync,
M: Sync,
I: Sync,
M: Sync,
impl<M, I> Unpin for WithIndices<M, I> where
I: Unpin,
M: Unpin,
I: Unpin,
M: Unpin,
impl<M, I> UnwindSafe for WithIndices<M, I> where
I: UnwindSafe,
M: UnwindSafe,
I: UnwindSafe,
M: 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> 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>,