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