pub struct BoxVector(pub Vec<Box0>);
Expand description
Represents a list of Box0.
Tuple Fields§
§0: Vec<Box0>
Implementations§
Source§impl BoxVector
impl BoxVector
Sourcepub fn with_capacity(cap: usize) -> Self
pub fn with_capacity(cap: usize) -> Self
Creates a new BoxVector with a provided capacity.
Sourcepub fn create(ind: usize, colors: usize, sum: usize) -> Self
pub fn create(ind: usize, colors: usize, sum: usize) -> Self
Creates a new BoxVector with the give parameters
Sourcepub fn as_inner_mut(&mut self) -> &mut Vec<Box0>
pub fn as_inner_mut(&mut self) -> &mut Vec<Box0>
Gets a mutable reference to the inner BoxVector type.
Trait Implementations§
impl StructuralPartialEq for BoxVector
Auto Trait Implementations§
impl Freeze for BoxVector
impl RefUnwindSafe for BoxVector
impl Send for BoxVector
impl Sync for BoxVector
impl Unpin for BoxVector
impl UnwindSafe for BoxVector
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