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 MessageData for ButtonNotifyMessagewhere
ButtonNotifyMessage: Clone,
impl MessageData for ButtonNotifyMessagewhere
ButtonNotifyMessage: Clone,
fn clone_message(&self) -> Box<dyn MessageData>
fn as_any(&self) -> &(dyn Any + 'static)
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