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