pub struct ShapedArray<T, const DIM: usize> { /* private fields */ }Expand description
1d or 2d array of values.
Implementations§
Source§impl<T, const D: usize> ShapedArray<T, D>
impl<T, const D: usize> ShapedArray<T, D>
Trait Implementations§
Source§impl<T: Clone, const DIM: usize> Clone for ShapedArray<T, DIM>
impl<T: Clone, const DIM: usize> Clone for ShapedArray<T, DIM>
Source§fn clone(&self) -> ShapedArray<T, DIM>
fn clone(&self) -> ShapedArray<T, DIM>
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<Int, const DIM: usize> GetValue<ShapedArray<HashSet<Int>, DIM>> for ValueArray<Int, DIM>
impl<Int, const DIM: usize> GetValue<ShapedArray<HashSet<Int>, DIM>> for ValueArray<Int, DIM>
Source§impl<Int, const DIM: usize> GetValue<ShapedArray<Int, DIM>> for ValueArray<Int, DIM>
impl<Int, const DIM: usize> GetValue<ShapedArray<Int, DIM>> for ValueArray<Int, DIM>
Source§fn try_get(&self) -> Option<&ShapedArray<Int, DIM>>
fn try_get(&self) -> Option<&ShapedArray<Int, DIM>>
If the enum is
T, then return the value. Otherwise, return None.Source§impl<Int: Integer, const DIM: usize> GetValue<ShapedArray<bool, DIM>> for ValueArray<Int, DIM>
impl<Int: Integer, const DIM: usize> GetValue<ShapedArray<bool, DIM>> for ValueArray<Int, DIM>
Auto Trait Implementations§
impl<T, const DIM: usize> Freeze for ShapedArray<T, DIM>
impl<T, const DIM: usize> RefUnwindSafe for ShapedArray<T, DIM>where
T: RefUnwindSafe,
impl<T, const DIM: usize> Send for ShapedArray<T, DIM>where
T: Send,
impl<T, const DIM: usize> Sync for ShapedArray<T, DIM>where
T: Sync,
impl<T, const DIM: usize> Unpin for ShapedArray<T, DIM>where
T: Unpin,
impl<T, const DIM: usize> UnwindSafe for ShapedArray<T, DIM>where
T: UnwindSafe,
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