pub enum InputRequest {
Filter {
current: Option<String>,
},
Path {
current: PathBuf,
},
Rename {
current_name: String,
},
NewDirectory,
NewFile,
}Expand description
Request for user input
The consumer should display an appropriate input UI based on the variant,
then call browser.complete_input() with the user’s input.
Variants§
Filter
Filter input request
Path
Path navigation input
Rename
Rename item input
NewDirectory
Create new directory
NewFile
Create new file
Implementations§
Trait Implementations§
Source§impl Clone for InputRequest
impl Clone for InputRequest
Source§fn clone(&self) -> InputRequest
fn clone(&self) -> InputRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InputRequest
impl RefUnwindSafe for InputRequest
impl Send for InputRequest
impl Sync for InputRequest
impl Unpin for InputRequest
impl UnwindSafe for InputRequest
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