Struct oxygengine_user_interface::raui::core::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§
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, 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§
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