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