Struct gut::mesh::topology::VertexIndex[][src]

pub struct VertexIndex(_);

Define index type

Implementations

impl VertexIndex[src]

pub fn into_inner(self) -> usize[src]

Trait Implementations

impl Add<VertexIndex> for VertexIndex[src]

type Output = VertexIndex

The resulting type after applying the + operator.

impl Add<usize> for VertexIndex[src]

type Output = VertexIndex

The resulting type after applying the + operator.

impl<M: VertexAttrib> AttribIndex<M> for VertexIndex[src]

impl<T: Real> AttribPromote<FaceVertexIndex, VertexIndex> for TriMesh<T>[src]

impl Clone for VertexIndex[src]

impl<M: FaceVertex + NumFaces + NumVertices> Connectivity<FaceVertexIndex, VertexIndex> for M[src]

Implement face vertex connectivity for face based meshes (e.g. PolyMesh, TriMesh and QuadMesh).

This can be useful for splitting meshes based on texture coordinates, so that they can be exported in formats that don't support additional face-vertex topologies like glTF.

type Topo = (Vec<usize>, Vec<usize>)

Additional topology that may aid in computing connectivity. Read more

impl<M: VertexCell + CellVertex + NumVertices> Connectivity<VertexIndex, CellIndex> for M[src]

Implement vertex connectivity for cell based meshes (e.g. TetMesh).

type Topo = ()

Additional topology that may aid in computing connectivity. Read more

impl<M: FaceVertex + NumVertices + NumFaces> Connectivity<VertexIndex, FaceIndex> for M[src]

Implement vertex connectivity for face based meshes (e.g. PolyMesh, TriMesh and QuadMesh).

type Topo = (Vec<usize>, Vec<usize>)

Additional topology that may aid in computing connectivity. Read more

impl Copy for VertexIndex[src]

impl Debug for VertexIndex[src]

impl Div<usize> for VertexIndex[src]

type Output = VertexIndex

The resulting type after applying the / operator.

impl ElementIndex<usize> for VertexIndex[src]

impl Eq for VertexIndex[src]

impl From<Index> for VertexIndex[src]

impl From<VertexIndex> for Index[src]

impl From<usize> for VertexIndex[src]

impl Hash for VertexIndex[src]

impl Mul<usize> for VertexIndex[src]

type Output = VertexIndex

The resulting type after applying the * operator.

impl Ord for VertexIndex[src]

impl PartialEq<VertexIndex> for VertexIndex[src]

impl PartialOrd<VertexIndex> for VertexIndex[src]

impl Rem<usize> for VertexIndex[src]

type Output = VertexIndex

The resulting type after applying the % operator.

impl<T: Real> Split<VertexIndex> for TetMesh<T>[src]

impl<T: Real> Split<VertexIndex> for TriMesh<T>[src]

impl<T: Real> Split<VertexIndex> for QuadMesh<T>[src]

impl<T: Real> Split<VertexIndex> for TetMeshExt<T>[src]

impl<T: Real> Split<VertexIndex> for PolyMesh<T>[src]

impl<T: Real> SplitIntoConnectedComponents<VertexIndex, CellIndex> for TetMesh<T>[src]

impl<T: Real> SplitIntoConnectedComponents<VertexIndex, CellIndex> for TetMeshExt<T>[src]

impl<T: Real> SplitIntoConnectedComponents<VertexIndex, FaceIndex> for PolyMesh<T>[src]

impl<T: Real> SplitIntoConnectedComponents<VertexIndex, FaceIndex> for TriMesh<T>[src]

impl<T: Real> SplitIntoConnectedComponents<VertexIndex, FaceIndex> for QuadMesh<T>[src]

impl StructuralEq for VertexIndex[src]

impl StructuralPartialEq for VertexIndex[src]

impl Sub<VertexIndex> for VertexIndex[src]

type Output = VertexIndex

The resulting type after applying the - operator.

impl Sub<usize> for VertexIndex[src]

type Output = VertexIndex

The resulting type after applying the - operator.

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> CallHasher for T where
    T: Hash

impl<T> CloneBytes for T where
    T: 'static + Clone
[src]

impl<M> Connectivity<FaceVertexIndex, VertexIndex> for M where
    M: NumVertices + NumFaces + FaceVertex
[src]

type Topo = (Vec<usize, Global>, Vec<usize, Global>)

Additional topology that may aid in computing connectivity. Read more

impl<M> Connectivity<FaceVertexIndex, VertexIndex> for M where
    M: NumVertices + NumFaces + FaceVertex
[src]

type Topo = (Vec<usize, Global>, Vec<usize, Global>)

Additional topology that may aid in computing connectivity. Read more

impl<M> Connectivity<FaceVertexIndex, VertexIndex> for M where
    M: NumVertices + NumFaces + FaceVertex
[src]

type Topo = (Vec<usize, Global>, Vec<usize, Global>)

Additional topology that may aid in computing connectivity. Read more

impl<M> Connectivity<FaceVertexIndex, VertexIndex> for M where
    M: NumVertices + NumFaces + FaceVertex
[src]

type Topo = (Vec<usize, Global>, Vec<usize, Global>)

Additional topology that may aid in computing connectivity. Read more

impl<M> Connectivity<FaceVertexIndex, VertexIndex> for M where
    M: NumVertices + NumFaces + FaceVertex
[src]

type Topo = (Vec<usize, Global>, Vec<usize, Global>)

Additional topology that may aid in computing connectivity. Read more

impl<M> Connectivity<VertexIndex, CellIndex> for M where
    M: NumVertices + CellVertex + VertexCell
[src]

type Topo = ()

Additional topology that may aid in computing connectivity. Read more

impl<M> Connectivity<VertexIndex, FaceIndex> for M where
    M: NumVertices + NumFaces + FaceVertex
[src]

type Topo = (Vec<usize, Global>, Vec<usize, Global>)

Additional topology that may aid in computing connectivity. Read more

impl<M> Connectivity<VertexIndex, FaceIndex> for M where
    M: NumVertices + NumFaces + FaceVertex
[src]

type Topo = (Vec<usize, Global>, Vec<usize, Global>)

Additional topology that may aid in computing connectivity. Read more

impl<M> Connectivity<VertexIndex, FaceIndex> for M where
    M: NumVertices + NumFaces + FaceVertex
[src]

type Topo = (Vec<usize, Global>, Vec<usize, Global>)

Additional topology that may aid in computing connectivity. Read more

impl<M> Connectivity<VertexIndex, FaceIndex> for M where
    M: NumVertices + NumFaces + FaceVertex
[src]

type Topo = (Vec<usize, Global>, Vec<usize, Global>)

Additional topology that may aid in computing connectivity. Read more

impl<M> Connectivity<VertexIndex, FaceIndex> for M where
    M: NumVertices + NumFaces + FaceVertex
[src]

type Topo = (Vec<usize, Global>, Vec<usize, Global>)

Additional topology that may aid in computing connectivity. Read more

impl<T> CopyElem for T where
    T: Any + Copy
[src]

impl<T> DebugBytes for T where
    T: 'static + Debug
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> DropBytes for T where
    T: 'static, 
[src]

impl<T> Elem for T where
    T: Any + DropBytes
[src]

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

impl<'a, S, I> Get<'a, I> for S where
    I: GetIndex<'a, S>, 
[src]

type Output = <I as GetIndex<'a, S>>::Output

impl<T> HashBytes for T where
    T: 'static + Hash
[src]

impl<T> IntBound for T where
    T: Add<usize, Output = T> + Sub<T, Output = T> + Into<usize> + From<usize> + Clone
[src]

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

impl<S, I> Isolate<I> for S where
    I: IsolateIndex<S>, 
[src]

type Output = <I as IsolateIndex<S>>::Output

impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
    T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>, 
[src]

impl<T> PartialEqBytes for T where
    T: 'static + PartialEq<T>, 
[src]

impl<T> Pod for T where
    T: 'static + Copy + Send + Sync + Any
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T, N> PushArrayToVec<N> for T where
    T: Clone,
    N: Array<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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.