[][src]Struct sixtyfps_rendering_backend_qt::native_widgets::NativeButton

#[repr(C)]pub struct NativeButton {
    pub x: Property<f32>,
    pub y: Property<f32>,
    pub width: Property<f32>,
    pub height: Property<f32>,
    pub text: Property<SharedString>,
    pub enabled: Property<bool>,
    pub pressed: Property<bool>,
    pub clicked: Signal<()>,
    pub cached_rendering_data: CachedRenderingData,
}

Fields

x: Property<f32>y: Property<f32>width: Property<f32>height: Property<f32>text: Property<SharedString>enabled: Property<bool>pressed: Property<bool>clicked: Signal<()>cached_rendering_data: CachedRenderingData

Implementations

impl NativeButton[src]

pub const FIELD_OFFSETS: NativeButtonFieldsOffsets[src]

Return a struct containing the offset of for the fields of this struct

Trait Implementations

impl BuiltinItem for NativeButton[src]

impl Default for NativeButton[src]

impl HasStaticVTable<ItemVTable> for NativeButton[src]

impl Item for NativeButton[src]

impl ItemConsts for NativeButton[src]

impl<'__dummy_lifetime> Unpin for NativeButton where
    __MustNotImplUnpin<'__dummy_lifetime>: Unpin
[src]

Auto Trait Implementations

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.