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