pub struct CompoundVectorSpace { /* private fields */ }Expand description
Vector space describing the block layout. Constructed by
CompoundVectorSpace::new, populated with [set_comp], then
passed to CompoundVector::new to create new compound vectors.
Implementations§
Source§impl CompoundVectorSpace
impl CompoundVectorSpace
pub fn new(n_comp_spaces: Index, total_dim: Index) -> Rc<Self>
pub fn dim(&self) -> Index
pub fn n_comp_spaces(&self) -> Index
pub fn comp_dim(&self, icomp: Index) -> Index
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for CompoundVectorSpace
impl !RefUnwindSafe for CompoundVectorSpace
impl !Send for CompoundVectorSpace
impl !Sync for CompoundVectorSpace
impl !UnwindSafe for CompoundVectorSpace
impl Unpin for CompoundVectorSpace
impl UnsafeUnpin for CompoundVectorSpace
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