pub struct ButtonNotifyMessage {
pub sender: WidgetId,
pub state: ButtonProps,
pub prev: ButtonProps,
}
Fields§
§sender: WidgetId
§state: ButtonProps
§prev: ButtonProps
Implementations§
source§impl ButtonNotifyMessage
impl ButtonNotifyMessage
pub fn select_start(&self) -> bool
pub fn select_stop(&self) -> bool
pub fn select_changed(&self) -> bool
pub fn trigger_start(&self) -> bool
pub fn trigger_stop(&self) -> bool
pub fn trigger_changed(&self) -> bool
pub fn context_start(&self) -> bool
pub fn context_stop(&self) -> bool
pub fn context_changed(&self) -> bool
Trait Implementations§
source§impl Clone for ButtonNotifyMessage
impl Clone for ButtonNotifyMessage
source§fn clone(&self) -> ButtonNotifyMessage
fn clone(&self) -> ButtonNotifyMessage
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 Debug for ButtonNotifyMessage
impl Debug for ButtonNotifyMessage
source§impl Default for ButtonNotifyMessage
impl Default for ButtonNotifyMessage
source§fn default() -> ButtonNotifyMessage
fn default() -> ButtonNotifyMessage
Returns the “default value” for a type. Read more
source§impl MessageData for ButtonNotifyMessagewhere
Self: Clone,
impl MessageData for ButtonNotifyMessagewhere
Self: Clone,
fn clone_message(&self) -> Box<dyn MessageData>
fn as_any(&self) -> &dyn Any
Auto Trait Implementations§
impl Freeze for ButtonNotifyMessage
impl RefUnwindSafe for ButtonNotifyMessage
impl Send for ButtonNotifyMessage
impl Sync for ButtonNotifyMessage
impl Unpin for ButtonNotifyMessage
impl UnwindSafe for ButtonNotifyMessage
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)