pub struct ImmediateButton {
pub state: ButtonProps,
pub prev: ButtonProps,
}
Fields§
§state: ButtonProps
§prev: ButtonProps
Implementations§
source§impl ImmediateButton
impl ImmediateButton
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 ImmediateButton
impl Clone for ImmediateButton
source§fn clone(&self) -> ImmediateButton
fn clone(&self) -> ImmediateButton
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 ImmediateButton
impl Debug for ImmediateButton
source§impl Default for ImmediateButton
impl Default for ImmediateButton
source§fn default() -> ImmediateButton
fn default() -> ImmediateButton
Returns the “default value” for a type. Read more
impl Copy for ImmediateButton
Auto Trait Implementations§
impl Freeze for ImmediateButton
impl RefUnwindSafe for ImmediateButton
impl Send for ImmediateButton
impl Sync for ImmediateButton
impl Unpin for ImmediateButton
impl UnwindSafe for ImmediateButton
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
)