pub enum ButtonPatch {
Title(String),
Enabled(bool),
}Variants§
Trait Implementations§
Source§impl Clone for ButtonPatch
impl Clone for ButtonPatch
Source§fn clone(&self) -> ButtonPatch
fn clone(&self) -> ButtonPatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ButtonPatch
impl Debug for ButtonPatch
Source§impl PartialEq for ButtonPatch
impl PartialEq for ButtonPatch
Source§fn eq(&self, other: &ButtonPatch) -> bool
fn eq(&self, other: &ButtonPatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ButtonPatch
Auto Trait Implementations§
impl Freeze for ButtonPatch
impl RefUnwindSafe for ButtonPatch
impl Send for ButtonPatch
impl Sync for ButtonPatch
impl Unpin for ButtonPatch
impl UnsafeUnpin for ButtonPatch
impl UnwindSafe for ButtonPatch
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