Struct fenris::connectivity::Segment3d3Connectivity
source · pub struct Segment3d3Connectivity(pub [usize; 3]);
Tuple Fields§
§0: [usize; 3]
Trait Implementations§
source§impl Clone for Segment3d3Connectivity
impl Clone for Segment3d3Connectivity
source§fn clone(&self) -> Segment3d3Connectivity
fn clone(&self) -> Segment3d3Connectivity
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Connectivity for Segment3d3Connectivity
impl Connectivity for Segment3d3Connectivity
type FaceConnectivity = ()
fn num_faces(&self) -> usize
fn get_face_connectivity(&self, _index: usize) -> Option<Self::FaceConnectivity>
fn vertex_indices(&self) -> &[usize]
source§impl ConnectivityMut for Segment3d3Connectivity
impl ConnectivityMut for Segment3d3Connectivity
fn vertex_indices_mut(&mut self) -> &mut [usize]
source§impl Debug for Segment3d3Connectivity
impl Debug for Segment3d3Connectivity
source§impl<'de> Deserialize<'de> for Segment3d3Connectivity
impl<'de> Deserialize<'de> for Segment3d3Connectivity
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for Segment3d3Connectivity
impl Hash for Segment3d3Connectivity
source§impl PartialEq<Segment3d3Connectivity> for Segment3d3Connectivity
impl PartialEq<Segment3d3Connectivity> for Segment3d3Connectivity
source§fn eq(&self, other: &Segment3d3Connectivity) -> bool
fn eq(&self, other: &Segment3d3Connectivity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Segment3d3Connectivity
impl Serialize for Segment3d3Connectivity
impl Copy for Segment3d3Connectivity
impl Eq for Segment3d3Connectivity
impl StructuralEq for Segment3d3Connectivity
impl StructuralPartialEq for Segment3d3Connectivity
Auto Trait Implementations§
impl RefUnwindSafe for Segment3d3Connectivity
impl Send for Segment3d3Connectivity
impl Sync for Segment3d3Connectivity
impl Unpin for Segment3d3Connectivity
impl UnwindSafe for Segment3d3Connectivity
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.