pub struct ButtonSpec {
pub interaction_source: Option<MutableInteractionSource>,
}Fields§
§interaction_source: Option<MutableInteractionSource>Implementations§
Source§impl ButtonSpec
impl ButtonSpec
pub fn new() -> Self
pub fn interaction_source( self, interaction_source: MutableInteractionSource, ) -> Self
Trait Implementations§
Source§impl Clone for ButtonSpec
impl Clone for ButtonSpec
Source§fn clone(&self) -> ButtonSpec
fn clone(&self) -> ButtonSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ButtonSpec
impl Debug for ButtonSpec
Source§impl Default for ButtonSpec
impl Default for ButtonSpec
Source§fn default() -> ButtonSpec
fn default() -> ButtonSpec
Returns the “default value” for a type. Read more
Source§impl PartialEq for ButtonSpec
impl PartialEq for ButtonSpec
Source§fn eq(&self, other: &ButtonSpec) -> bool
fn eq(&self, other: &ButtonSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ButtonSpec
Auto Trait Implementations§
impl Freeze for ButtonSpec
impl !RefUnwindSafe for ButtonSpec
impl !Send for ButtonSpec
impl !Sync for ButtonSpec
impl Unpin for ButtonSpec
impl UnsafeUnpin for ButtonSpec
impl !UnwindSafe for ButtonSpec
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