Struct flattiverse_connector::ManagedArray
source · pub struct ManagedArray<T: Clone> { /* private fields */ }
Implementations
sourceimpl<T: Clone> ManagedArray<T>
impl<T: Clone> ManagedArray<T>
pub fn with_capacity(capacity: usize) -> ManagedArray<T>
pub fn get(&self, index: usize) -> &Option<T>
pub fn set(&mut self, index: usize, value: Option<T>)
pub fn wipe_all(&mut self)
pub fn wipe_index(&mut self, index: usize)
pub fn insert(&mut self, value: T) -> Result<usize, Error>
pub fn count(&self) -> usize
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn iter(&self) -> Iter<'_, Option<T>>
Trait Implementations
sourceimpl<T: Clone> AsMut<[Option<T>]> for ManagedArray<T>
impl<T: Clone> AsMut<[Option<T>]> for ManagedArray<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for ManagedArray<T>where
T: RefUnwindSafe,
impl<T> Send for ManagedArray<T>where
T: Send,
impl<T> Sync for ManagedArray<T>where
T: Sync,
impl<T> Unpin for ManagedArray<T>where
T: Unpin,
impl<T> UnwindSafe for ManagedArray<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more