Struct sixtyfps_rendering_backend_qt::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<&Self>) -> f32
[src]
pub fn y(self: Pin<&Self>) -> f32
[src]
pub fn width(self: Pin<&Self>) -> f32
[src]
pub fn height(self: Pin<&Self>) -> f32
[src]
pub fn enabled(self: Pin<&Self>) -> bool
[src]
pub fn value(self: Pin<&Self>) -> f32
[src]
pub fn minimum(self: Pin<&Self>) -> f32
[src]
pub fn maximum(self: Pin<&Self>) -> f32
[src]
Trait Implementations
impl BuiltinItem for NativeSlider
[src]
impl BuiltinItem for NativeSlider
[src]fn name() -> &'static str
[src]
fn properties<Value: ValueType>(
) -> Vec<(&'static str, &'static dyn PropertyInfo<Self, Value>)>
[src]
) -> Vec<(&'static str, &'static dyn PropertyInfo<Self, Value>)>
fn fields<Value: ValueType>(
) -> Vec<(&'static str, &'static dyn FieldInfo<Self, Value>)>
[src]
) -> Vec<(&'static str, &'static dyn FieldInfo<Self, Value>)>
fn callbacks<Value: ValueType>(
) -> Vec<(&'static str, &'static dyn CallbackInfo<Self, Value>)>
[src]
) -> Vec<(&'static str, &'static dyn CallbackInfo<Self, Value>)>
impl Default for NativeSlider
[src]
impl Default for NativeSlider
[src]fn default() -> NativeSlider
[src]
impl HasStaticVTable<ItemVTable> for NativeSlider
[src]
impl HasStaticVTable<ItemVTable> for NativeSlider
[src]fn static_vtable() -> &'static ItemVTable
[src]
impl Item for NativeSlider
[src]
impl Item for NativeSlider
[src]fn init(self: Pin<&Self>, _window: &ComponentWindow)
[src]
fn geometry(self: Pin<&Self>) -> Rect
[src]
fn layouting_info(self: Pin<&Self>, _window: &ComponentWindow) -> LayoutInfo
[src]
fn implicit_size(self: Pin<&Self>, _window: &ComponentWindow) -> Size
[src]
fn input_event_filter_before_children(
self: Pin<&Self>,
_: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventFilterResult
[src]
self: Pin<&Self>,
_: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventFilterResult
fn input_event(
self: Pin<&Self>,
event: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventResult
[src]
self: Pin<&Self>,
event: MouseEvent,
_window: &ComponentWindow,
_self_rc: &ItemRc
) -> InputEventResult
fn key_event(
self: Pin<&Self>,
_: &KeyEvent,
_window: &ComponentWindow
) -> KeyEventResult
[src]
self: Pin<&Self>,
_: &KeyEvent,
_window: &ComponentWindow
) -> KeyEventResult
fn focus_event(self: Pin<&Self>, _: &FocusEvent, _window: &ComponentWindow)
[src]
fn render(self: Pin<&Self>, backend: &mut &mut dyn ItemRenderer)
[src]
impl ItemConsts for NativeSlider
[src]
impl ItemConsts for NativeSlider
[src]const cached_rendering_data_offset: FieldOffset<Self, CachedRenderingData>
[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