pub struct RectangularCardD4 { /* private fields */ }
Expand description
A rectangular cardinality of dimension D4
vectors, which is equal to four
lengths across each dimensions.
Trait Implementations§
Source§impl Card<D4> for RectangularCardD4
impl Card<D4> for RectangularCardD4
Source§fn is_rectangular(&self) -> bool
fn is_rectangular(&self) -> bool
Returns true if the cardinality is bounded and rectangular; i.e, Read more
Source§fn cardinality_of(&self, idx: impl Into<<D4 as Dim>::CardIdx>) -> usize
fn cardinality_of(&self, idx: impl Into<<D4 as Dim>::CardIdx>) -> usize
Returns the cardinality of the child of the vector at the given
idx
.Source§fn child_card(&self, i: usize) -> impl Card<<D4 as Dim>::PrevDim>
fn child_card(&self, i: usize) -> impl Card<<D4 as Dim>::PrevDim>
Returns the cardinality of the child of this vector at the given
left_most_idx
.Source§fn child_fun<T, F>(
&self,
i: usize,
fun: F,
) -> impl Fn(<<D4 as Dim>::PrevDim as Dim>::Idx) -> T
fn child_fun<T, F>( &self, i: usize, fun: F, ) -> impl Fn(<<D4 as Dim>::PrevDim as Dim>::Idx) -> T
Creates a function, say
new_fun
, which applies the first of the indices to
left_most_index
such that: Read moreSource§impl Clone for RectangularCardD4
impl Clone for RectangularCardD4
Source§fn clone(&self) -> RectangularCardD4
fn clone(&self) -> RectangularCardD4
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 moreimpl Copy for RectangularCardD4
Auto Trait Implementations§
impl Freeze for RectangularCardD4
impl RefUnwindSafe for RectangularCardD4
impl Send for RectangularCardD4
impl Sync for RectangularCardD4
impl Unpin for RectangularCardD4
impl UnwindSafe for RectangularCardD4
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