pub struct HyperList<T> { /* private fields */ }
Implementations§
Source§impl<T> HyperList<T>
impl<T> HyperList<T>
pub fn push(&mut self, ele: T) -> bool
pub fn insert(&mut self, index: u32, ele: T) -> bool
pub fn get(&mut self, index: u32) -> Option<&T>
pub fn get_mut(&mut self, index: u32) -> Option<&mut T>
pub fn is_empty(&self) -> bool
pub fn pop(&mut self) -> Option<T>
pub fn remove(&mut self, index: u32) -> Option<T>
pub fn len(&self) -> u32
pub fn replace(&mut self, index: u32, ele: T) -> Option<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for HyperList<T>
impl<T> RefUnwindSafe for HyperList<T>where
T: RefUnwindSafe,
impl<T> Send for HyperList<T>where
T: Send,
impl<T> Sync for HyperList<T>where
T: Sync,
impl<T> Unpin for HyperList<T>
impl<T> UnwindSafe for HyperList<T>where
T: RefUnwindSafe,
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