pub enum MenuResponse {
Close,
Stay,
Create(Pos2, Id),
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MenuResponse
impl Clone for MenuResponse
Source§fn clone(&self) -> MenuResponse
fn clone(&self) -> MenuResponse
Returns a copy 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 moreSource§impl PartialEq for MenuResponse
impl PartialEq for MenuResponse
impl Copy for MenuResponse
impl Eq for MenuResponse
impl StructuralPartialEq for MenuResponse
Auto Trait Implementations§
impl Freeze for MenuResponse
impl RefUnwindSafe for MenuResponse
impl Send for MenuResponse
impl Sync for MenuResponse
impl Unpin for MenuResponse
impl UnwindSafe for MenuResponse
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