Struct gut::mesh::topology::VertexIndex [−][src]
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.
fn add(self, rhs: VertexIndex) -> VertexIndex
[src]
impl Add<usize> for VertexIndex
[src]
type Output = VertexIndex
The resulting type after applying the +
operator.
fn add(self, rhs: usize) -> VertexIndex
[src]
impl<M: VertexAttrib> AttribIndex<M> for VertexIndex
[src]
fn attrib_size(mesh: &M) -> usize
[src]
fn attrib_dict(mesh: &M) -> &AttribDict<Self>
[src]
fn attrib_dict_mut(mesh: &mut M) -> &mut AttribDict<Self>
[src]
fn attrib_dict_and_cache_mut(
mesh: &mut M
) -> (&mut AttribDict<Self>, Option<&mut AttribValueCache>)
[src]
mesh: &mut M
) -> (&mut AttribDict<Self>, Option<&mut AttribValueCache>)
impl<T: Real> AttribPromote<FaceVertexIndex, VertexIndex> for TriMesh<T>
[src]
fn attrib_promote<'a, U, F>(
&mut self,
name: &'a str,
mut combine: F
) -> Result<&Attribute<VertexIndex>, Error> where
U: Any + Clone,
F: for<'b> FnMut(&'b mut U, &'b U),
[src]
&mut self,
name: &'a str,
mut combine: F
) -> Result<&Attribute<VertexIndex>, Error> where
U: Any + Clone,
F: for<'b> FnMut(&'b mut U, &'b U),
impl Clone for VertexIndex
[src]
fn clone(&self) -> VertexIndex
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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
fn precompute_topo(&self) -> Self::Topo
[src]
fn num_elements(&self) -> usize
[src]
fn push_neighbours<T: Default + PartialEq>(
&self,
index: FaceVertexIndex,
stack: &mut Vec<FaceVertexIndex>,
topo: &Self::Topo,
attrib: Option<&[T]>
)
[src]
&self,
index: FaceVertexIndex,
stack: &mut Vec<FaceVertexIndex>,
topo: &Self::Topo,
attrib: Option<&[T]>
)
fn connectivity(&self) -> (Vec<usize>, usize)
[src]
fn connectivity_via_attrib<T>(
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
[src]
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
fn connectivity_via_attrib_fn<'a, T, F>(&self, f: F) -> (Vec<usize>, usize) where
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
[src]
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
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
fn num_elements(&self) -> usize
[src]
fn push_neighbours<T: Default + PartialEq>(
&self,
index: VertexIndex,
stack: &mut Vec<VertexIndex>,
_: &(),
_: Option<&[T]>
)
[src]
&self,
index: VertexIndex,
stack: &mut Vec<VertexIndex>,
_: &(),
_: Option<&[T]>
)
fn precompute_topo(&self) -> Self::Topo
[src]
fn connectivity(&self) -> (Vec<usize>, usize)
[src]
fn connectivity_via_attrib<T>(
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
[src]
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
fn connectivity_via_attrib_fn<'a, T, F>(&self, f: F) -> (Vec<usize>, usize) where
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
[src]
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
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
fn precompute_topo(&self) -> Self::Topo
[src]
fn num_elements(&self) -> usize
[src]
fn push_neighbours<T: Default + PartialEq>(
&self,
index: VertexIndex,
stack: &mut Vec<VertexIndex>,
topo: &Self::Topo,
_: Option<&[T]>
)
[src]
&self,
index: VertexIndex,
stack: &mut Vec<VertexIndex>,
topo: &Self::Topo,
_: Option<&[T]>
)
fn connectivity(&self) -> (Vec<usize>, usize)
[src]
fn connectivity_via_attrib<T>(
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
[src]
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
fn connectivity_via_attrib_fn<'a, T, F>(&self, f: F) -> (Vec<usize>, usize) where
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
[src]
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
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.
fn div(self, rhs: usize) -> VertexIndex
[src]
impl ElementIndex<usize> for VertexIndex
[src]
impl Eq for VertexIndex
[src]
impl From<Index> for VertexIndex
[src]
impl From<VertexIndex> for Index
[src]
fn from(i: VertexIndex) -> Self
[src]
impl From<usize> for VertexIndex
[src]
impl Hash for VertexIndex
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Mul<usize> for VertexIndex
[src]
type Output = VertexIndex
The resulting type after applying the *
operator.
fn mul(self, rhs: usize) -> VertexIndex
[src]
impl Ord for VertexIndex
[src]
fn cmp(&self, other: &VertexIndex) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<VertexIndex> for VertexIndex
[src]
fn eq(&self, other: &VertexIndex) -> bool
[src]
fn ne(&self, other: &VertexIndex) -> bool
[src]
impl PartialOrd<VertexIndex> for VertexIndex
[src]
fn partial_cmp(&self, other: &VertexIndex) -> Option<Ordering>
[src]
fn lt(&self, other: &VertexIndex) -> bool
[src]
fn le(&self, other: &VertexIndex) -> bool
[src]
fn gt(&self, other: &VertexIndex) -> bool
[src]
fn ge(&self, other: &VertexIndex) -> bool
[src]
impl Rem<usize> for VertexIndex
[src]
type Output = VertexIndex
The resulting type after applying the %
operator.
fn rem(self, rhs: usize) -> VertexIndex
[src]
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]
fn split_into_connected_components(self) -> Vec<Self>
[src]
impl<T: Real> SplitIntoConnectedComponents<VertexIndex, CellIndex> for TetMeshExt<T>
[src]
fn split_into_connected_components(self) -> Vec<Self>
[src]
impl<T: Real> SplitIntoConnectedComponents<VertexIndex, FaceIndex> for PolyMesh<T>
[src]
fn split_into_connected_components(self) -> Vec<Self>
[src]
impl<T: Real> SplitIntoConnectedComponents<VertexIndex, FaceIndex> for TriMesh<T>
[src]
fn split_into_connected_components(self) -> Vec<Self>
[src]
impl<T: Real> SplitIntoConnectedComponents<VertexIndex, FaceIndex> for QuadMesh<T>
[src]
fn split_into_connected_components(self) -> Vec<Self>
[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.
fn sub(self, rhs: VertexIndex) -> VertexIndex
[src]
impl Sub<usize> for VertexIndex
[src]
type Output = VertexIndex
The resulting type after applying the -
operator.
fn sub(self, rhs: usize) -> VertexIndex
[src]
Auto Trait Implementations
impl RefUnwindSafe for VertexIndex
[src]
impl Send for VertexIndex
[src]
impl Sync for VertexIndex
[src]
impl Unpin for VertexIndex
[src]
impl UnwindSafe for VertexIndex
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsSlice<T> for T
[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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CallHasher for T where
T: Hash,
T: Hash,
impl<T> CloneBytes for T where
T: 'static + Clone,
[src]
T: 'static + Clone,
pub unsafe fn clone_bytes(
src: &[MaybeUninit<u8>]
) -> Box<[MaybeUninit<u8>], Global>
[src]
src: &[MaybeUninit<u8>]
) -> Box<[MaybeUninit<u8>], Global>
pub unsafe fn clone_from_bytes(
dst: &mut [MaybeUninit<u8>],
src: &[MaybeUninit<u8>]
)
[src]
dst: &mut [MaybeUninit<u8>],
src: &[MaybeUninit<u8>]
)
pub unsafe fn clone_into_raw_bytes(
src: &[MaybeUninit<u8>],
dst: &mut [MaybeUninit<u8>]
)
[src]
src: &[MaybeUninit<u8>],
dst: &mut [MaybeUninit<u8>]
)
impl<M> Connectivity<FaceVertexIndex, VertexIndex> for M where
M: NumVertices + NumFaces + FaceVertex,
[src]
M: NumVertices + NumFaces + FaceVertex,
type Topo = (Vec<usize, Global>, Vec<usize, Global>)
Additional topology that may aid in computing connectivity. Read more
pub fn precompute_topo(
&Self
) -> <M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo
[src]
&Self
) -> <M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo
pub fn num_elements(&Self) -> usize
[src]
pub fn push_neighbours<T>(
&Self,
FaceVertexIndex,
&mut Vec<FaceVertexIndex, Global>,
&<M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
[src]
&Self,
FaceVertexIndex,
&mut Vec<FaceVertexIndex, Global>,
&<M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
fn connectivity(&self) -> (Vec<usize>, usize)
[src]
fn connectivity_via_attrib<T>(
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
[src]
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
fn connectivity_via_attrib_fn<'a, T, F>(&self, f: F) -> (Vec<usize>, usize) where
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
[src]
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
impl<M> Connectivity<FaceVertexIndex, VertexIndex> for M where
M: NumVertices + NumFaces + FaceVertex,
[src]
M: NumVertices + NumFaces + FaceVertex,
type Topo = (Vec<usize, Global>, Vec<usize, Global>)
Additional topology that may aid in computing connectivity. Read more
pub fn precompute_topo(
&Self
) -> <M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo
[src]
&Self
) -> <M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo
pub fn num_elements(&Self) -> usize
[src]
pub fn push_neighbours<T>(
&Self,
FaceVertexIndex,
&mut Vec<FaceVertexIndex, Global>,
&<M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
[src]
&Self,
FaceVertexIndex,
&mut Vec<FaceVertexIndex, Global>,
&<M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
fn connectivity(&self) -> (Vec<usize>, usize)
[src]
fn connectivity_via_attrib<T>(
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
[src]
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
fn connectivity_via_attrib_fn<'a, T, F>(&self, f: F) -> (Vec<usize>, usize) where
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
[src]
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
impl<M> Connectivity<FaceVertexIndex, VertexIndex> for M where
M: NumVertices + NumFaces + FaceVertex,
[src]
M: NumVertices + NumFaces + FaceVertex,
type Topo = (Vec<usize, Global>, Vec<usize, Global>)
Additional topology that may aid in computing connectivity. Read more
pub fn precompute_topo(
&Self
) -> <M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo
[src]
&Self
) -> <M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo
pub fn num_elements(&Self) -> usize
[src]
pub fn push_neighbours<T>(
&Self,
FaceVertexIndex,
&mut Vec<FaceVertexIndex, Global>,
&<M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
[src]
&Self,
FaceVertexIndex,
&mut Vec<FaceVertexIndex, Global>,
&<M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
fn connectivity(&self) -> (Vec<usize>, usize)
[src]
fn connectivity_via_attrib<T>(
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
[src]
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
fn connectivity_via_attrib_fn<'a, T, F>(&self, f: F) -> (Vec<usize>, usize) where
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
[src]
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
impl<M> Connectivity<FaceVertexIndex, VertexIndex> for M where
M: NumVertices + NumFaces + FaceVertex,
[src]
M: NumVertices + NumFaces + FaceVertex,
type Topo = (Vec<usize, Global>, Vec<usize, Global>)
Additional topology that may aid in computing connectivity. Read more
pub fn precompute_topo(
&Self
) -> <M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo
[src]
&Self
) -> <M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo
pub fn num_elements(&Self) -> usize
[src]
pub fn push_neighbours<T>(
&Self,
FaceVertexIndex,
&mut Vec<FaceVertexIndex, Global>,
&<M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
[src]
&Self,
FaceVertexIndex,
&mut Vec<FaceVertexIndex, Global>,
&<M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
fn connectivity(&self) -> (Vec<usize>, usize)
[src]
fn connectivity_via_attrib<T>(
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
[src]
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
fn connectivity_via_attrib_fn<'a, T, F>(&self, f: F) -> (Vec<usize>, usize) where
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
[src]
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
impl<M> Connectivity<FaceVertexIndex, VertexIndex> for M where
M: NumVertices + NumFaces + FaceVertex,
[src]
M: NumVertices + NumFaces + FaceVertex,
type Topo = (Vec<usize, Global>, Vec<usize, Global>)
Additional topology that may aid in computing connectivity. Read more
pub fn precompute_topo(
&Self
) -> <M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo
[src]
&Self
) -> <M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo
pub fn num_elements(&Self) -> usize
[src]
pub fn push_neighbours<T>(
&Self,
FaceVertexIndex,
&mut Vec<FaceVertexIndex, Global>,
&<M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
[src]
&Self,
FaceVertexIndex,
&mut Vec<FaceVertexIndex, Global>,
&<M as Connectivity<FaceVertexIndex, VertexIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
fn connectivity(&self) -> (Vec<usize>, usize)
[src]
fn connectivity_via_attrib<T>(
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
[src]
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
fn connectivity_via_attrib_fn<'a, T, F>(&self, f: F) -> (Vec<usize>, usize) where
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
[src]
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
impl<M> Connectivity<VertexIndex, CellIndex> for M where
M: NumVertices + CellVertex + VertexCell,
[src]
M: NumVertices + CellVertex + VertexCell,
type Topo = ()
Additional topology that may aid in computing connectivity. Read more
pub fn num_elements(&Self) -> usize
[src]
pub fn push_neighbours<T>(
&Self,
VertexIndex,
&mut Vec<VertexIndex, Global>,
&(),
Option<&[T]>
) where
T: PartialEq<T> + Default,
[src]
&Self,
VertexIndex,
&mut Vec<VertexIndex, Global>,
&(),
Option<&[T]>
) where
T: PartialEq<T> + Default,
fn precompute_topo(&self) -> Self::Topo
[src]
fn connectivity(&self) -> (Vec<usize>, usize)
[src]
fn connectivity_via_attrib<T>(
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
[src]
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
fn connectivity_via_attrib_fn<'a, T, F>(&self, f: F) -> (Vec<usize>, usize) where
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
[src]
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
impl<M> Connectivity<VertexIndex, FaceIndex> for M where
M: NumVertices + NumFaces + FaceVertex,
[src]
M: NumVertices + NumFaces + FaceVertex,
type Topo = (Vec<usize, Global>, Vec<usize, Global>)
Additional topology that may aid in computing connectivity. Read more
pub fn precompute_topo(
&Self
) -> <M as Connectivity<VertexIndex, FaceIndex>>::Topo
[src]
&Self
) -> <M as Connectivity<VertexIndex, FaceIndex>>::Topo
pub fn num_elements(&Self) -> usize
[src]
pub fn push_neighbours<T>(
&Self,
VertexIndex,
&mut Vec<VertexIndex, Global>,
&<M as Connectivity<VertexIndex, FaceIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
[src]
&Self,
VertexIndex,
&mut Vec<VertexIndex, Global>,
&<M as Connectivity<VertexIndex, FaceIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
fn connectivity(&self) -> (Vec<usize>, usize)
[src]
fn connectivity_via_attrib<T>(
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
[src]
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
fn connectivity_via_attrib_fn<'a, T, F>(&self, f: F) -> (Vec<usize>, usize) where
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
[src]
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
impl<M> Connectivity<VertexIndex, FaceIndex> for M where
M: NumVertices + NumFaces + FaceVertex,
[src]
M: NumVertices + NumFaces + FaceVertex,
type Topo = (Vec<usize, Global>, Vec<usize, Global>)
Additional topology that may aid in computing connectivity. Read more
pub fn precompute_topo(
&Self
) -> <M as Connectivity<VertexIndex, FaceIndex>>::Topo
[src]
&Self
) -> <M as Connectivity<VertexIndex, FaceIndex>>::Topo
pub fn num_elements(&Self) -> usize
[src]
pub fn push_neighbours<T>(
&Self,
VertexIndex,
&mut Vec<VertexIndex, Global>,
&<M as Connectivity<VertexIndex, FaceIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
[src]
&Self,
VertexIndex,
&mut Vec<VertexIndex, Global>,
&<M as Connectivity<VertexIndex, FaceIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
fn connectivity(&self) -> (Vec<usize>, usize)
[src]
fn connectivity_via_attrib<T>(
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
[src]
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
fn connectivity_via_attrib_fn<'a, T, F>(&self, f: F) -> (Vec<usize>, usize) where
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
[src]
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
impl<M> Connectivity<VertexIndex, FaceIndex> for M where
M: NumVertices + NumFaces + FaceVertex,
[src]
M: NumVertices + NumFaces + FaceVertex,
type Topo = (Vec<usize, Global>, Vec<usize, Global>)
Additional topology that may aid in computing connectivity. Read more
pub fn precompute_topo(
&Self
) -> <M as Connectivity<VertexIndex, FaceIndex>>::Topo
[src]
&Self
) -> <M as Connectivity<VertexIndex, FaceIndex>>::Topo
pub fn num_elements(&Self) -> usize
[src]
pub fn push_neighbours<T>(
&Self,
VertexIndex,
&mut Vec<VertexIndex, Global>,
&<M as Connectivity<VertexIndex, FaceIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
[src]
&Self,
VertexIndex,
&mut Vec<VertexIndex, Global>,
&<M as Connectivity<VertexIndex, FaceIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
fn connectivity(&self) -> (Vec<usize>, usize)
[src]
fn connectivity_via_attrib<T>(
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
[src]
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
fn connectivity_via_attrib_fn<'a, T, F>(&self, f: F) -> (Vec<usize>, usize) where
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
[src]
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
impl<M> Connectivity<VertexIndex, FaceIndex> for M where
M: NumVertices + NumFaces + FaceVertex,
[src]
M: NumVertices + NumFaces + FaceVertex,
type Topo = (Vec<usize, Global>, Vec<usize, Global>)
Additional topology that may aid in computing connectivity. Read more
pub fn precompute_topo(
&Self
) -> <M as Connectivity<VertexIndex, FaceIndex>>::Topo
[src]
&Self
) -> <M as Connectivity<VertexIndex, FaceIndex>>::Topo
pub fn num_elements(&Self) -> usize
[src]
pub fn push_neighbours<T>(
&Self,
VertexIndex,
&mut Vec<VertexIndex, Global>,
&<M as Connectivity<VertexIndex, FaceIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
[src]
&Self,
VertexIndex,
&mut Vec<VertexIndex, Global>,
&<M as Connectivity<VertexIndex, FaceIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
fn connectivity(&self) -> (Vec<usize>, usize)
[src]
fn connectivity_via_attrib<T>(
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
[src]
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
fn connectivity_via_attrib_fn<'a, T, F>(&self, f: F) -> (Vec<usize>, usize) where
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
[src]
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
impl<M> Connectivity<VertexIndex, FaceIndex> for M where
M: NumVertices + NumFaces + FaceVertex,
[src]
M: NumVertices + NumFaces + FaceVertex,
type Topo = (Vec<usize, Global>, Vec<usize, Global>)
Additional topology that may aid in computing connectivity. Read more
pub fn precompute_topo(
&Self
) -> <M as Connectivity<VertexIndex, FaceIndex>>::Topo
[src]
&Self
) -> <M as Connectivity<VertexIndex, FaceIndex>>::Topo
pub fn num_elements(&Self) -> usize
[src]
pub fn push_neighbours<T>(
&Self,
VertexIndex,
&mut Vec<VertexIndex, Global>,
&<M as Connectivity<VertexIndex, FaceIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
[src]
&Self,
VertexIndex,
&mut Vec<VertexIndex, Global>,
&<M as Connectivity<VertexIndex, FaceIndex>>::Topo,
Option<&[T]>
) where
T: PartialEq<T> + Default,
fn connectivity(&self) -> (Vec<usize>, usize)
[src]
fn connectivity_via_attrib<T>(
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
[src]
&self,
attrib: Option<&str>
) -> (Vec<usize>, usize) where
Self: Attrib,
Src: AttribIndex<Self>,
T: Default + PartialEq + 'static,
fn connectivity_via_attrib_fn<'a, T, F>(&self, f: F) -> (Vec<usize>, usize) where
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
[src]
T: Default + PartialEq + 'a,
F: FnOnce() -> Option<&'a [T]>,
impl<T> CopyElem for T where
T: Any + Copy,
[src]
T: Any + Copy,
impl<T> DebugBytes for T where
T: 'static + Debug,
[src]
T: 'static + Debug,
pub unsafe fn fmt_bytes(
bytes: &[MaybeUninit<u8>],
f: &mut Formatter<'_>
) -> Result<(), Error>
[src]
bytes: &[MaybeUninit<u8>],
f: &mut Formatter<'_>
) -> Result<(), Error>
impl<T> Downcast for T where
T: Any,
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> DropBytes for T where
T: 'static,
[src]
T: 'static,
pub unsafe fn drop_bytes(bytes: &mut [MaybeUninit<u8>])
[src]
impl<T> Elem for T where
T: Any + DropBytes,
[src]
T: Any + DropBytes,
impl<T> From<T> for T
[src]
impl<'a, S, I> Get<'a, I> for S where
I: GetIndex<'a, S>,
[src]
I: GetIndex<'a, S>,
type Output = <I as GetIndex<'a, S>>::Output
pub fn get(&self, idx: I) -> Option<<I as GetIndex<'a, S>>::Output>
[src]
pub fn at(&self, idx: I) -> Self::Output
[src]
impl<T> HashBytes for T where
T: 'static + Hash,
[src]
T: 'static + Hash,
pub unsafe fn hash_bytes(bytes: &[MaybeUninit<u8>], state: &mut dyn Hasher)
[src]
impl<T> IntBound for T where
T: Add<usize, Output = T> + Sub<T, Output = T> + Into<usize> + From<usize> + Clone,
[src]
T: Add<usize, Output = T> + Sub<T, Output = T> + Into<usize> + From<usize> + Clone,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<S, I> Isolate<I> for S where
I: IsolateIndex<S>,
[src]
I: IsolateIndex<S>,
type Output = <I as IsolateIndex<S>>::Output
pub unsafe fn isolate_unchecked(self, idx: I) -> <S as Isolate<I>>::Output
[src]
pub fn try_isolate(self, idx: I) -> Option<<S as Isolate<I>>::Output>
[src]
pub fn isolate(self, idx: I) -> Self::Output
[src]
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]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
impl<T> PartialEqBytes for T where
T: 'static + PartialEq<T>,
[src]
T: 'static + PartialEq<T>,
impl<T> Pod for T where
T: 'static + Copy + Send + Sync + Any,
[src]
T: 'static + Copy + Send + Sync + Any,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T, N> PushArrayToVec<N> for T where
T: Clone,
N: Array<T>,
[src]
T: Clone,
N: Array<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,