pub struct FilePicker { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Overlay for FilePicker
impl Overlay for FilePicker
fn handle_key(&mut self, key: KeyEvent) -> OverlayOutcome
fn handle_mouse(&mut self, ev: MouseEvent, _body_rows: u16) -> OverlayOutcome
Source§fn render(&self, width: u16, height: u16) -> OverlayFrame
fn render(&self, width: u16, height: u16) -> OverlayFrame
Render against a (width, height) viewport. Height includes the status row.
fn title(&self) -> Cow<'_, str>
Source§fn refresh(&mut self, ctx: OverlayContext<'_>)
fn refresh(&mut self, ctx: OverlayContext<'_>)
Called after
Apply(cmd) dispatches, so the overlay can re-derive
state (e.g. picker rebuilds visible after a DropFileAt).Auto Trait Implementations§
impl !Freeze for FilePicker
impl !RefUnwindSafe for FilePicker
impl Send for FilePicker
impl !Sync for FilePicker
impl Unpin for FilePicker
impl UnsafeUnpin for FilePicker
impl UnwindSafe for FilePicker
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