pub struct LoadFileDialog<SR, SN: Clone + Debug + PartialEq>where
SR: FileDialogResults<SR> + Clone + Debug + PartialEq,{ /* private fields */ }
Expand description
You should use something like rfd
instead of this
Implementations§
Trait Implementations§
source§impl<SR, SN: Debug + Clone + Debug + PartialEq> Debug for LoadFileDialog<SR, SN>where
SR: FileDialogResults<SR> + Debug + Clone + Debug + PartialEq,
impl<SR, SN: Debug + Clone + Debug + PartialEq> Debug for LoadFileDialog<SR, SN>where SR: FileDialogResults<SR> + Debug + Clone + Debug + PartialEq,
source§impl<SR, SN: Clone + Debug + PartialEq> Scene<SR, SN> for LoadFileDialog<SR, SN>where
SR: FileDialogResults<SR> + Clone + Debug + PartialEq,
impl<SR, SN: Clone + Debug + PartialEq> Scene<SR, SN> for LoadFileDialog<SR, SN>where SR: FileDialogResults<SR> + Clone + Debug + PartialEq,
source§fn render(&self, graphics: &mut Graphics<'_>, mouse_xy: Coord)
fn render(&self, graphics: &mut Graphics<'_>, mouse_xy: Coord)
Render scene contents using
graphics
Read moresource§fn on_key_up(
&mut self,
key: VirtualKeyCode,
_: Coord,
held_keys: &Vec<&VirtualKeyCode>
)
fn on_key_up( &mut self, key: VirtualKeyCode, _: Coord, held_keys: &Vec<&VirtualKeyCode> )
Called when a keyboard key has been released Read more
source§fn on_mouse_up(
&mut self,
xy: Coord,
button: MouseButton,
_: &Vec<&VirtualKeyCode>
)
fn on_mouse_up( &mut self, xy: Coord, button: MouseButton, _: &Vec<&VirtualKeyCode> )
Called when a mouse button has been released Read more
source§fn on_scroll(
&mut self,
xy: Coord,
_: isize,
y_diff: isize,
_: &Vec<&VirtualKeyCode>
)
fn on_scroll( &mut self, xy: Coord, _: isize, y_diff: isize, _: &Vec<&VirtualKeyCode> )
Called when the mouse scroll function has been used Read more
source§fn update(
&mut self,
timing: &Timing,
_: Coord,
_: &Vec<&VirtualKeyCode>
) -> SceneUpdateResult<SR, SN>
fn update( &mut self, timing: &Timing, _: Coord, _: &Vec<&VirtualKeyCode> ) -> SceneUpdateResult<SR, SN>
During this method the scene should update animations and anything else that relies on time
or on held keys Read more
source§fn is_dialog(&self) -> bool
fn is_dialog(&self) -> bool
Return true if this scene doesn’t fill the screen or is transparent
If this returns false the previous fullscreen scene will render as well
source§fn on_key_down(
&mut self,
key: VirtualKeyCode,
mouse_xy: Coord,
held_keys: &Vec<&VirtualKeyCode>
)
fn on_key_down( &mut self, key: VirtualKeyCode, mouse_xy: Coord, held_keys: &Vec<&VirtualKeyCode> )
Called when a keyboard key is being pressed down Read more
source§fn on_mouse_down(
&mut self,
xy: Coord,
button: MouseButton,
held_keys: &Vec<&VirtualKeyCode>
)
fn on_mouse_down( &mut self, xy: Coord, button: MouseButton, held_keys: &Vec<&VirtualKeyCode> )
Called when a mouse button has been pressed down Read more
Auto Trait Implementations§
impl<SR, SN> RefUnwindSafe for LoadFileDialog<SR, SN>where SN: RefUnwindSafe, SR: RefUnwindSafe,
impl<SR, SN> Send for LoadFileDialog<SR, SN>where SN: Send, SR: Send,
impl<SR, SN> Sync for LoadFileDialog<SR, SN>where SN: Sync, SR: Sync,
impl<SR, SN> Unpin for LoadFileDialog<SR, SN>where SN: Unpin, SR: Unpin,
impl<SR, SN> UnwindSafe for LoadFileDialog<SR, SN>where SN: UnwindSafe, SR: 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