#[repr(u8)]pub enum ReferenceCellType {
Point = 0,
Interval = 1,
Triangle = 2,
Quadrilateral = 3,
Tetrahedron = 4,
Hexahedron = 5,
Prism = 6,
Pyramid = 7,
}Expand description
The type of a reference cell
Variants§
Point = 0
A point
Interval = 1
A line interval
Triangle = 2
A triangle
Quadrilateral = 3
A quadrilateral
Tetrahedron = 4
A tetrahedron (whose faces are all triangles)
Hexahedron = 5
A hexahedron (whose faces are all quadrilaterals)
Prism = 6
A triangular prism
Pyramid = 7
A square-based pyramid
Trait Implementations§
Source§impl Clone for ReferenceCellType
impl Clone for ReferenceCellType
Source§fn clone(&self) -> ReferenceCellType
fn clone(&self) -> ReferenceCellType
Returns a duplicate 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 Debug for ReferenceCellType
impl Debug for ReferenceCellType
Source§impl<'de> Deserialize<'de> for ReferenceCellType
impl<'de> Deserialize<'de> for ReferenceCellType
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 Equivalence for ReferenceCellType
Available on crate feature mpi only.
impl Equivalence for ReferenceCellType
Available on crate feature
mpi only.Source§impl Hash for ReferenceCellType
impl Hash for ReferenceCellType
Source§impl IntoEnumIterator for ReferenceCellType
impl IntoEnumIterator for ReferenceCellType
type Iterator = ReferenceCellTypeIter
fn iter() -> ReferenceCellTypeIter ⓘ
Source§impl PartialEq for ReferenceCellType
impl PartialEq for ReferenceCellType
Source§impl Serialize for ReferenceCellType
impl Serialize for ReferenceCellType
impl Copy for ReferenceCellType
impl Eq for ReferenceCellType
impl StructuralPartialEq for ReferenceCellType
Auto Trait Implementations§
impl Freeze for ReferenceCellType
impl RefUnwindSafe for ReferenceCellType
impl Send for ReferenceCellType
impl Sync for ReferenceCellType
impl Unpin for ReferenceCellType
impl UnwindSafe for ReferenceCellType
Blanket Implementations§
§impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
impl<Src, Scheme> ApproxFrom<Src, Scheme> for Srcwhere
Scheme: ApproxScheme,
§fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
fn approx_from(src: Src) -> Result<Src, <Src as ApproxFrom<Src, Scheme>>::Err>
Convert the given value into an approximately equivalent representation.
§impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
impl<Dst, Src, Scheme> ApproxInto<Dst, Scheme> for Srcwhere
Dst: ApproxFrom<Src, Scheme>,
Scheme: ApproxScheme,
§fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
fn approx_into(self) -> Result<Dst, <Src as ApproxInto<Dst, Scheme>>::Err>
Convert the subject into an approximately equivalent representation.
§impl<T> AsDatatype for Twhere
T: Equivalence,
impl<T> AsDatatype for Twhere
T: Equivalence,
§type Out = <T as Equivalence>::Out
type Out = <T as Equivalence>::Out
The type of the associated MPI datatype (e.g.
SystemDatatype or UserDatatype)§fn as_datatype(&self) -> <T as AsDatatype>::Out
fn as_datatype(&self) -> <T as AsDatatype>::Out
The associated MPI datatype
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Collection for Twhere
T: Equivalence,
impl<T> Collection for Twhere
T: Equivalence,
§impl<T, Dst> ConvAsUtil<Dst> for T
impl<T, Dst> ConvAsUtil<Dst> for T
§impl<T> ConvUtil for T
impl<T> ConvUtil for T
§fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
fn approx_as<Dst>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst>,
Approximate the subject to a given type with the default scheme.
§fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
fn approx_as_by<Dst, Scheme>(self) -> Result<Dst, Self::Err>where
Self: Sized + ApproxInto<Dst, Scheme>,
Scheme: ApproxScheme,
Approximate the subject to a given type with a specific scheme.
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointer for Twhere
T: Equivalence,
impl<T> Pointer for Twhere
T: Equivalence,
§impl<T> PointerMut for Twhere
T: Equivalence,
impl<T> PointerMut for Twhere
T: Equivalence,
§fn pointer_mut(&mut self) -> *mut c_void
fn pointer_mut(&mut self) -> *mut c_void
A mutable pointer to the starting address in memory
§impl<Src> TryFrom<Src> for Src
impl<Src> TryFrom<Src> for Src
§impl<Src, Dst> TryInto<Dst> for Srcwhere
Dst: TryFrom<Src>,
impl<Src, Dst> TryInto<Dst> for Srcwhere
Dst: TryFrom<Src>,
§impl<Src> ValueFrom<Src> for Src
impl<Src> ValueFrom<Src> for Src
§fn value_from(src: Src) -> Result<Src, <Src as ValueFrom<Src>>::Err>
fn value_from(src: Src) -> Result<Src, <Src as ValueFrom<Src>>::Err>
Convert the given value into an exactly equivalent representation.
§impl<Src, Dst> ValueInto<Dst> for Srcwhere
Dst: ValueFrom<Src>,
impl<Src, Dst> ValueInto<Dst> for Srcwhere
Dst: ValueFrom<Src>,
§fn value_into(self) -> Result<Dst, <Src as ValueInto<Dst>>::Err>
fn value_into(self) -> Result<Dst, <Src as ValueInto<Dst>>::Err>
Convert the subject into an exactly equivalent representation.