Trait forky_core::VecX
source · pub trait VecX<T> {
// Required methods
fn _first(&self) -> &T;
fn _pop(&mut self) -> T;
fn _get<T2>(&self, index: T2) -> &<T2 as SliceIndex<[T]>>::Output
where T2: SliceIndex<[T]>;
fn _get_mut<T2>(&mut self, index: T2) -> &<T2 as SliceIndex<[T]>>::Output
where T2: SliceIndex<[T]>;
fn remove_first_element(&mut self, element: T) -> bool
where T: PartialEq;
}
Required Methods§
fn _first(&self) -> &T
fn _pop(&mut self) -> T
fn _get<T2>(&self, index: T2) -> &<T2 as SliceIndex<[T]>>::Outputwhere
T2: SliceIndex<[T]>,
fn _get_mut<T2>(&mut self, index: T2) -> &<T2 as SliceIndex<[T]>>::Outputwhere
T2: SliceIndex<[T]>,
fn remove_first_element(&mut self, element: T) -> boolwhere
T: PartialEq,
Object Safety§
This trait is not object safe.