pub enum FileChoice {
Chosen(String),
Cancelled,
Pending,
}Expand description
What the player did with a file dialog.
Variants§
Chosen(String)
They chose a file: its name, as the host’s file functions take it.
Cancelled
They chose none.
Pending
They have not chosen yet. As with Input::Pending, the VM stops
and asks again when it is resumed.
Trait Implementations§
Source§impl Clone for FileChoice
impl Clone for FileChoice
Source§impl Debug for FileChoice
impl Debug for FileChoice
impl Eq for FileChoice
Source§impl PartialEq for FileChoice
impl PartialEq for FileChoice
impl StructuralPartialEq for FileChoice
Auto Trait Implementations§
impl Forget for FileChoice
impl Freeze for FileChoice
impl Move for FileChoice
impl RefUnwindSafe for FileChoice
impl Send for FileChoicewhere
RawVecInner: Send,
impl Sync for FileChoicewhere
RawVecInner: Sync,
impl Unpin for FileChoice
impl UnsafeUnpin for FileChoice
impl UnwindSafe for FileChoicewhere
RawVecInner: 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