Struct oxygengine_user_interface::widget::component::interactive::button::ButtonNotifyMessage
source · [−]pub struct ButtonNotifyMessage {
pub sender: WidgetId,
pub state: ButtonProps,
pub prev: ButtonProps,
}
Fields
sender: WidgetId
state: ButtonProps
prev: ButtonProps
Implementations
sourceimpl 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
sourceimpl Clone for ButtonNotifyMessage
impl Clone for ButtonNotifyMessage
sourcefn clone(&self) -> ButtonNotifyMessage
fn clone(&self) -> ButtonNotifyMessage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ButtonNotifyMessage
impl Debug for ButtonNotifyMessage
sourceimpl MessageData for ButtonNotifyMessagewhere
ButtonNotifyMessage: Clone,
impl MessageData for ButtonNotifyMessagewhere
ButtonNotifyMessage: Clone,
fn clone_message(&self) -> Box<dyn MessageData + 'static, Global>
fn as_any(&self) -> &(dyn Any + 'static)
Auto Trait Implementations
impl RefUnwindSafe for ButtonNotifyMessage
impl Send for ButtonNotifyMessage
impl Sync for ButtonNotifyMessage
impl Unpin for ButtonNotifyMessage
impl UnwindSafe for ButtonNotifyMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more