Struct gxi_desktop_binds::Button[][src]

pub struct Button {
    pub parent: WeakNodeRc,
    pub dirty: bool,
    pub self_substitute: Option<WeakNodeRc>,
    pub widget: Button,
    pub sibling: Option<NodeRc>,
}

Fields

parent: WeakNodeRcdirty: boolself_substitute: Option<WeakNodeRc>widget: Buttonsibling: Option<NodeRc>

Implementations

impl Button[src]

pub fn label(&self, label: &str)[src]

pub fn on_click<F: Fn() + 'static>(&self, f: F)[src]

Trait Implementations

impl Drop for Button[src]

impl Node for Button[src]

Auto Trait Implementations

impl !RefUnwindSafe for Button

impl !Send for Button

impl !Sync for Button

impl Unpin for Button

impl !UnwindSafe for Button

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.