[][src]Struct fozzie::search::Search

pub struct Search {
    pub query: Vec<char>,
    // some fields omitted
}

Fields

query: Vec<char>

Implementations

impl Search[src]

pub fn new<S: Into<String>>(prompt: S) -> Search[src]

pub fn draw(&self) -> String[src]

pub fn keypress(&mut self, character: char) -> String[src]

pub fn backspace(&mut self) -> Option<String>[src]

pub fn delete(&mut self) -> Option<String>[src]

pub fn left(&mut self) -> Option<&str>[src]

pub fn right(&mut self) -> Option<&str>[src]

pub fn clear(&mut self) -> String[src]

pub fn left_word(&mut self) -> String[src]

pub fn right_word(&mut self) -> String[src]

pub fn backspace_word(&mut self) -> String[src]

pub fn delete_word(&mut self) -> String[src]

pub fn set_query(&mut self, new_query: &str) -> String[src]

Auto Trait Implementations

impl RefUnwindSafe for Search

impl Send for Search

impl Sync for Search

impl Unpin for Search

impl UnwindSafe for Search

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.