pub enum ButtonResult {
Ok,
Cancel,
Custom(i32),
}
Variants§
Trait Implementations§
Source§impl Clone for ButtonResult
impl Clone for ButtonResult
Source§fn clone(&self) -> ButtonResult
fn clone(&self) -> ButtonResult
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 ButtonResult
impl PartialEq for ButtonResult
impl Copy for ButtonResult
impl StructuralPartialEq for ButtonResult
Auto Trait Implementations§
impl Freeze for ButtonResult
impl RefUnwindSafe for ButtonResult
impl Send for ButtonResult
impl Sync for ButtonResult
impl Unpin for ButtonResult
impl UnwindSafe for ButtonResult
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