pub struct Outline<T> {
pub items: Vec<OutlineItem<T>>,
/* private fields */
}
Fields§
§items: Vec<OutlineItem<T>>
Implementations§
source§impl<T> Outline<T>
impl<T> Outline<T>
pub fn new(items: Vec<OutlineItem<T>>) -> Self
pub async fn search( &self, query: &str, executor: BackgroundExecutor ) -> Vec<StringMatch>
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for Outline<T>where T: RefUnwindSafe,
impl<T> Send for Outline<T>where T: Send,
impl<T> Sync for Outline<T>where T: Sync,
impl<T> Unpin for Outline<T>where T: Unpin,
impl<T> UnwindSafe for Outline<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