[−][src]Struct sixtyfps_rendering_backend_default::native_widgets::NativeButton
Fields
x: Property<f32>y: Property<f32>width: Property<f32>height: Property<f32>text: Property<SharedString>pressed: Property<bool>clicked: Signal<()>cached_rendering_data: CachedRenderingDataImplementations
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]
pub fn name() -> &'static str[src]
pub fn properties<Value>(
) -> Vec<(&'static str, &'static (dyn PropertyInfo<NativeButton, Value> + 'static))> where
Value: ValueType, [src]
) -> Vec<(&'static str, &'static (dyn PropertyInfo<NativeButton, Value> + 'static))> where
Value: ValueType,
pub fn fields<Value>(
) -> Vec<(&'static str, &'static (dyn FieldInfo<NativeButton, Value> + 'static))> where
Value: ValueType, [src]
) -> Vec<(&'static str, &'static (dyn FieldInfo<NativeButton, Value> + 'static))> where
Value: ValueType,
pub fn signals(
) -> Vec<(&'static str, FieldOffset<NativeButton, Signal<()>, AllowPin>)>[src]
) -> Vec<(&'static str, FieldOffset<NativeButton, Signal<()>, AllowPin>)>
impl Default for NativeButton[src]
pub fn default() -> NativeButton[src]
impl HasStaticVTable<ItemVTable> for NativeButton[src]
pub fn static_vtable() -> &'static ItemVTable[src]
impl Item for NativeButton[src]
pub fn init(self: Pin<&NativeButton>, _window: &ComponentWindow)[src]
pub fn geometry(self: Pin<&NativeButton>) -> Rect<f32, UnknownUnit>[src]
pub fn rendering_primitive(
self: Pin<&NativeButton>,
window: &ComponentWindow
) -> HighLevelRenderingPrimitive[src]
self: Pin<&NativeButton>,
window: &ComponentWindow
) -> HighLevelRenderingPrimitive
pub fn rendering_variables(
self: Pin<&NativeButton>,
_window: &ComponentWindow
) -> SharedArray<RenderingVariable>[src]
self: Pin<&NativeButton>,
_window: &ComponentWindow
) -> SharedArray<RenderingVariable>
pub fn layouting_info(
self: Pin<&NativeButton>,
window: &ComponentWindow
) -> LayoutInfo[src]
self: Pin<&NativeButton>,
window: &ComponentWindow
) -> LayoutInfo
pub fn input_event(
self: Pin<&NativeButton>,
event: MouseEvent,
_window: &ComponentWindow,
_app_component: Pin<VRef<'_, ComponentVTable>>
) -> InputEventResult[src]
self: Pin<&NativeButton>,
event: MouseEvent,
_window: &ComponentWindow,
_app_component: Pin<VRef<'_, ComponentVTable>>
) -> InputEventResult
pub fn key_event(
self: Pin<&NativeButton>,
&KeyEvent,
_window: &ComponentWindow
) -> KeyEventResult[src]
self: Pin<&NativeButton>,
&KeyEvent,
_window: &ComponentWindow
) -> KeyEventResult
pub fn focus_event(
self: Pin<&NativeButton>,
&FocusEvent,
_window: &ComponentWindow
)[src]
self: Pin<&NativeButton>,
&FocusEvent,
_window: &ComponentWindow
)
impl ItemConsts for NativeButton[src]
pub const cached_rendering_data_offset: FieldOffset<NativeButton, CachedRenderingData, NotPinned>[src]
impl<'__dummy_lifetime> Unpin for NativeButton where
__MustNotImplUnpin<'__dummy_lifetime>: Unpin, [src]
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
Auto Trait Implementations
impl !RefUnwindSafe for NativeButton
impl !Send for NativeButton
impl !Sync for NativeButton
impl !UnwindSafe for NativeButton
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,