pub struct RectangularCardD3 { /* private fields */ }
Expand description
A rectangular cardinality of dimension D3
vectors, which is equal to three
lengths across each dimensions.
Trait Implementations§
Source§impl Card<D3> for RectangularCardD3
impl Card<D3> for RectangularCardD3
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<<D3 as Dim>::CardIdx>) -> usize
fn cardinality_of(&self, idx: impl Into<<D3 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<<D3 as Dim>::PrevDim>
fn child_card(&self, i: usize) -> impl Card<<D3 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(<<D3 as Dim>::PrevDim as Dim>::Idx) -> T
fn child_fun<T, F>( &self, i: usize, fun: F, ) -> impl Fn(<<D3 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 RectangularCardD3
impl Clone for RectangularCardD3
Source§fn clone(&self) -> RectangularCardD3
fn clone(&self) -> RectangularCardD3
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 RectangularCardD3
Auto Trait Implementations§
impl Freeze for RectangularCardD3
impl RefUnwindSafe for RectangularCardD3
impl Send for RectangularCardD3
impl Sync for RectangularCardD3
impl Unpin for RectangularCardD3
impl UnwindSafe for RectangularCardD3
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