pub struct SmallPropVec { /* private fields */ }Implementations§
Source§impl SmallPropVec
impl SmallPropVec
pub fn new() -> Self
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn push(&mut self, slot: PropSlot)
pub fn get(&self, idx: usize) -> Option<&PropSlot>
pub fn get_mut(&mut self, idx: usize) -> Option<&mut PropSlot>
pub fn iter(&self) -> SmallPropIter<'_> ⓘ
pub fn iter_mut(&mut self) -> SmallPropIterMut<'_> ⓘ
pub fn retain<F: FnMut(&mut PropSlot) -> bool>(&mut self, f: F)
pub fn truncate(&mut self, new_len: usize)
pub fn clear(&mut self)
pub fn capacity(&self) -> usize
pub fn drain_to_vec(&mut self) -> Vec<PropSlot>
pub fn from_vec(v: Vec<PropSlot>) -> Self
Trait Implementations§
Source§impl Clone for SmallPropVec
impl Clone for SmallPropVec
Source§impl Default for SmallPropVec
impl Default for SmallPropVec
Source§impl Index<usize> for SmallPropVec
impl Index<usize> for SmallPropVec
Source§impl IndexMut<usize> for SmallPropVec
impl IndexMut<usize> for SmallPropVec
Source§impl<'a> IntoIterator for &'a SmallPropVec
impl<'a> IntoIterator for &'a SmallPropVec
Source§impl<'a> IntoIterator for &'a mut SmallPropVec
impl<'a> IntoIterator for &'a mut SmallPropVec
Auto Trait Implementations§
impl Freeze for SmallPropVec
impl RefUnwindSafe for SmallPropVec
impl Send for SmallPropVec
impl Sync for SmallPropVec
impl Unpin for SmallPropVec
impl UnsafeUnpin for SmallPropVec
impl UnwindSafe for SmallPropVec
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