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