Struct sixtyfps_rendering_backend_default::native_widgets::NativeCheckBox [−][src]
#[repr(C)]pub struct NativeCheckBox { pub x: Property<f32>, pub y: Property<f32>, pub width: Property<f32>, pub height: Property<f32>, pub enabled: Property<bool>, pub toggled: Callback<(), ()>, pub text: Property<SharedString>, pub checked: Property<bool>, pub cached_rendering_data: CachedRenderingData, }
Fields
x: Property<f32>
y: Property<f32>
width: Property<f32>
height: Property<f32>
enabled: Property<bool>
toggled: Callback<(), ()>
text: Property<SharedString>
checked: Property<bool>
cached_rendering_data: CachedRenderingData
Implementations
impl NativeCheckBox
[src]
impl NativeCheckBox
[src]pub const FIELD_OFFSETS: NativeCheckBoxFieldsOffsets
[src]
Return a struct containing the offset of for the fields of this struct
impl NativeCheckBox
[src]
impl NativeCheckBox
[src]pub fn x(self: Pin<&NativeCheckBox>) -> f32
[src]
pub fn y(self: Pin<&NativeCheckBox>) -> f32
[src]
pub fn width(self: Pin<&NativeCheckBox>) -> f32
[src]
pub fn height(self: Pin<&NativeCheckBox>) -> f32
[src]
pub fn enabled(self: Pin<&NativeCheckBox>) -> bool
[src]
pub fn text(self: Pin<&NativeCheckBox>) -> SharedString
[src]
pub fn checked(self: Pin<&NativeCheckBox>) -> bool
[src]
Trait Implementations
impl BuiltinItem for NativeCheckBox
[src]
impl BuiltinItem for NativeCheckBox
[src]pub fn name() -> &'static str
[src]
pub fn properties<Value>(
) -> Vec<(&'static str, &'static (dyn PropertyInfo<NativeCheckBox, Value> + 'static)), Global> where
Value: ValueType,
[src]
) -> Vec<(&'static str, &'static (dyn PropertyInfo<NativeCheckBox, Value> + 'static)), Global> where
Value: ValueType,
pub fn fields<Value>(
) -> Vec<(&'static str, &'static (dyn FieldInfo<NativeCheckBox, Value> + 'static)), Global> where
Value: ValueType,
[src]
) -> Vec<(&'static str, &'static (dyn FieldInfo<NativeCheckBox, Value> + 'static)), Global> where
Value: ValueType,
pub fn callbacks<Value>(
) -> Vec<(&'static str, &'static (dyn CallbackInfo<NativeCheckBox, Value> + 'static)), Global> where
Value: ValueType,
[src]
) -> Vec<(&'static str, &'static (dyn CallbackInfo<NativeCheckBox, Value> + 'static)), Global> where
Value: ValueType,
impl Default for NativeCheckBox
[src]
impl Default for NativeCheckBox
[src]pub fn default() -> NativeCheckBox
[src]
impl HasStaticVTable<ItemVTable> for NativeCheckBox
[src]
impl HasStaticVTable<ItemVTable> for NativeCheckBox
[src]pub fn static_vtable() -> &'static ItemVTable
[src]
impl Item for NativeCheckBox
[src]
impl Item for NativeCheckBox
[src]pub fn init(self: Pin<&NativeCheckBox>, _window: &ComponentWindow)
[src]
pub fn geometry(self: Pin<&NativeCheckBox>) -> Rect<f32, UnknownUnit>
[src]
pub fn layouting_info(
self: Pin<&NativeCheckBox>,
_window: &ComponentWindow
) -> LayoutInfo
[src]
self: Pin<&NativeCheckBox>,
_window: &ComponentWindow
) -> LayoutInfo
pub fn implicit_size(
self: Pin<&NativeCheckBox>,
_window: &ComponentWindow
) -> Size2D<f32, UnknownUnit>
[src]
self: Pin<&NativeCheckBox>,
_window: &ComponentWindow
) -> Size2D<f32, UnknownUnit>
pub fn input_event_filter_before_children(
self: Pin<&NativeCheckBox>,
MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventFilterResult
[src]
self: Pin<&NativeCheckBox>,
MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventFilterResult
pub fn input_event(
self: Pin<&NativeCheckBox>,
event: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventResult
[src]
self: Pin<&NativeCheckBox>,
event: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventResult
pub fn key_event(
self: Pin<&NativeCheckBox>,
&KeyEvent,
_window: &ComponentWindow
) -> KeyEventResult
[src]
self: Pin<&NativeCheckBox>,
&KeyEvent,
_window: &ComponentWindow
) -> KeyEventResult
pub fn focus_event(
self: Pin<&NativeCheckBox>,
&FocusEvent,
_window: &ComponentWindow
)
[src]
self: Pin<&NativeCheckBox>,
&FocusEvent,
_window: &ComponentWindow
)
pub fn render(self: Pin<&NativeCheckBox>, backend: &mut &mut dyn ItemRenderer)
[src]
impl ItemConsts for NativeCheckBox
[src]
impl ItemConsts for NativeCheckBox
[src]pub const cached_rendering_data_offset: FieldOffset<NativeCheckBox, CachedRenderingData, NotPinned>
[src]
impl<'__dummy_lifetime> Unpin for NativeCheckBox where
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
[src]
impl<'__dummy_lifetime> Unpin for NativeCheckBox where
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
[src]Auto Trait Implementations
impl !RefUnwindSafe for NativeCheckBox
impl !RefUnwindSafe for NativeCheckBox
impl !Send for NativeCheckBox
impl !Send for NativeCheckBox
impl !Sync for NativeCheckBox
impl !Sync for NativeCheckBox
impl !UnwindSafe for NativeCheckBox
impl !UnwindSafe for NativeCheckBox