[][src]Struct orbtk::widgets::Button

pub struct Button {
    pub rect: Cell<Rect>,
    pub selector: CloneCell<Selector>,
    pub text: CloneCell<String>,
    pub text_offset: Cell<Point>,
    // some fields omitted
}

Fields

rect: Cell<Rect>selector: CloneCell<Selector>text: CloneCell<String>text_offset: Cell<Point>

Methods

impl Button[src]

pub fn new() -> Arc<Self>[src]

Trait Implementations

impl Click for Button[src]

impl Place for Button[src]

impl Style for Button[src]

impl Text for Button[src]

impl Widget 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> SetParameter for T

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.