Struct fenris_geometry::Hyperball
source · pub struct Hyperball<T, D>where
T: Scalar,
D: DimName,
DefaultAllocator: Allocator<T, D>,{ /* private fields */ }
Implementations§
Trait Implementations§
source§impl<T, D> Clone for Hyperball<T, D>where
T: Scalar + Clone,
D: DimName + Clone,
DefaultAllocator: Allocator<T, D>,
impl<T, D> Clone for Hyperball<T, D>where
T: Scalar + Clone,
D: DimName + Clone,
DefaultAllocator: Allocator<T, D>,
source§impl<T, D> Debug for Hyperball<T, D>where
T: Scalar + Debug,
D: DimName + Debug,
DefaultAllocator: Allocator<T, D>,
impl<T, D> Debug for Hyperball<T, D>where
T: Scalar + Debug,
D: DimName + Debug,
DefaultAllocator: Allocator<T, D>,
source§impl<'de, T, D> Deserialize<'de> for Hyperball<T, D>where
T: Scalar + Deserialize<'de>,
D: DimName,
DefaultAllocator: Allocator<T, D>,
OPoint<T, D>: Deserialize<'de>,
impl<'de, T, D> Deserialize<'de> for Hyperball<T, D>where
T: Scalar + Deserialize<'de>,
D: DimName,
DefaultAllocator: Allocator<T, D>,
OPoint<T, D>: Deserialize<'de>,
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<T, D> PartialEq<Hyperball<T, D>> for Hyperball<T, D>where
T: Scalar + PartialEq,
D: DimName + PartialEq,
DefaultAllocator: Allocator<T, D>,
impl<T, D> PartialEq<Hyperball<T, D>> for Hyperball<T, D>where
T: Scalar + PartialEq,
D: DimName + PartialEq,
DefaultAllocator: Allocator<T, D>,
source§impl<T, D> Serialize for Hyperball<T, D>where
T: Scalar + Serialize,
D: DimName,
DefaultAllocator: Allocator<T, D>,
OPoint<T, D>: Serialize,
impl<T, D> Serialize for Hyperball<T, D>where
T: Scalar + Serialize,
D: DimName,
DefaultAllocator: Allocator<T, D>,
OPoint<T, D>: Serialize,
impl<T, D> Eq for Hyperball<T, D>where
T: Scalar + Eq,
D: DimName + Eq,
DefaultAllocator: Allocator<T, D>,
impl<T, D> StructuralEq for Hyperball<T, D>where
T: Scalar,
D: DimName,
DefaultAllocator: Allocator<T, D>,
impl<T, D> StructuralPartialEq for Hyperball<T, D>where
T: Scalar,
D: DimName,
DefaultAllocator: Allocator<T, D>,
Auto Trait Implementations§
impl<T, D> !RefUnwindSafe for Hyperball<T, D>
impl<T, D> !Send for Hyperball<T, D>
impl<T, D> !Sync for Hyperball<T, D>
impl<T, D> !Unpin for Hyperball<T, D>
impl<T, D> !UnwindSafe for Hyperball<T, D>
Blanket Implementations§
§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.