pub struct SizedOrthant<const X: usize, const D: usize, N, S> {
pub orthant: Orthant<X, N>,
pub bbox: BoundingBox<[S; D]>,
}
Expand description
An Orthant
and its size as a BoundingBox
.
Fields§
§orthant: Orthant<X, N>
Stored orthant.
bbox: BoundingBox<[S; D]>
Size of the stored orthant.
Trait Implementations§
Source§impl<const X: usize, const D: usize, N: Clone, S: Clone> Clone for SizedOrthant<X, D, N, S>
impl<const X: usize, const D: usize, N: Clone, S: Clone> Clone for SizedOrthant<X, D, N, S>
Source§fn clone(&self) -> SizedOrthant<X, D, N, S>
fn clone(&self) -> SizedOrthant<X, D, N, S>
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<const X: usize, const D: usize, N: PartialEq, S: PartialEq> PartialEq for SizedOrthant<X, D, N, S>
impl<const X: usize, const D: usize, N: PartialEq, S: PartialEq> PartialEq for SizedOrthant<X, D, N, S>
impl<const X: usize, const D: usize, N: Copy, S: Copy> Copy for SizedOrthant<X, D, N, S>
impl<const X: usize, const D: usize, N: Eq, S: Eq> Eq for SizedOrthant<X, D, N, S>
impl<const X: usize, const D: usize, N, S> StructuralPartialEq for SizedOrthant<X, D, N, S>
Auto Trait Implementations§
impl<const X: usize, const D: usize, N, S> Freeze for SizedOrthant<X, D, N, S>
impl<const X: usize, const D: usize, N, S> RefUnwindSafe for SizedOrthant<X, D, N, S>where
N: RefUnwindSafe,
S: RefUnwindSafe,
impl<const X: usize, const D: usize, N, S> Send for SizedOrthant<X, D, N, S>
impl<const X: usize, const D: usize, N, S> Sync for SizedOrthant<X, D, N, S>
impl<const X: usize, const D: usize, N, S> Unpin for SizedOrthant<X, D, N, S>
impl<const X: usize, const D: usize, N, S> UnwindSafe for SizedOrthant<X, D, N, S>where
N: UnwindSafe,
S: UnwindSafe,
Blanket Implementations§
Source§impl<U> AsPrimitive for U
impl<U> AsPrimitive for U
Source§fn as_<F: FromPrimitive<Self>>(self) -> F
fn as_<F: FromPrimitive<Self>>(self) -> F
Converts this primitive into the input primitive.
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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