pub struct FiltableList<T: Filtable> { /* private fields */ }Implementations§
Source§impl<T: Filtable> FiltableList<T>
impl<T: Filtable> FiltableList<T>
pub fn new() -> Self
pub fn is_empty(&self) -> bool
pub fn is_filterd_empty(&self) -> bool
pub fn get_filter(&self) -> String
pub fn get_item(&self, i: usize) -> &T
pub fn is_match(&self, i: usize) -> bool
pub fn len(&self) -> usize
pub fn push(&mut self, item: T)
pub fn add_filter_str(&mut self, st: &str)
pub fn delete_filter_char(&mut self)
pub fn filterd_first(&self) -> Option<usize>
pub fn filterd_last(&self) -> Option<usize>
pub fn next(&self, i: usize) -> Option<usize>
pub fn previous(&self, i: usize) -> Option<usize>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for FiltableList<T>
impl<T> RefUnwindSafe for FiltableList<T>where
T: RefUnwindSafe,
impl<T> Send for FiltableList<T>where
T: Send,
impl<T> Sync for FiltableList<T>where
T: Sync,
impl<T> Unpin for FiltableList<T>where
T: Unpin,
impl<T> UnwindSafe for FiltableList<T>where
T: UnwindSafe,
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