#[repr(C)]pub struct InnerLineEditBase_root_1 {Show 35 fields
root_1: Empty,
root_clip_2: Clip,
placeholder_3: ComplexText,
contextmenuinternal_4: ContextMenu,
text_input_5: TextInput,
root_1_has_focus: Property<bool>,
root_1_height: Property<LogicalLength>,
root_1_layoutinfo_h: Property<LayoutInfo>,
root_1_layoutinfo_v: Property<LayoutInfo>,
root_1_margin: Property<LogicalLength>,
root_1_placeholder_3_horizontal_stretch: Property<f32>,
root_1_placeholder_3_max_height: Property<LogicalLength>,
root_1_placeholder_3_max_width: Property<LogicalLength>,
root_1_placeholder_3_min_height: Property<LogicalLength>,
root_1_placeholder_3_min_width: Property<LogicalLength>,
root_1_placeholder_3_preferred_height: Property<LogicalLength>,
root_1_placeholder_3_preferred_width: Property<LogicalLength>,
root_1_placeholder_3_vertical_stretch: Property<f32>,
root_1_placeholder_color: Property<Brush>,
root_1_placeholder_text: Property<SharedString>,
root_1_text_color: Property<Brush>,
root_1_text_input_5_computed_x: Property<LogicalLength>,
root_1_text_input_5_preferred_height: Property<LogicalLength>,
root_1_text_input_5_preferred_width: Property<LogicalLength>,
root_1_text_input_5_x: Property<LogicalLength>,
root_1_width: Property<LogicalLength>,
root_1_x: Property<LogicalLength>,
root_1_accepted: Callback<(SharedString,), ()>,
root_1_edited: Callback<(SharedString,), ()>,
root_1_key_pressed: Callback<(KeyEvent,), EventResult>,
root_1_key_released: Callback<(KeyEvent,), EventResult>,
self_weak: OnceCell<VWeakMapped<ItemTreeVTable, InnerLineEditBase_root_1>>,
globals: OnceCell<Rc<SharedGlobals>>,
tree_index: Cell<u32>,
tree_index_of_first_child: Cell<u32>,
}Fields§
§root_1: Empty§root_clip_2: Clip§placeholder_3: ComplexText§text_input_5: TextInput§root_1_has_focus: Property<bool>§root_1_height: Property<LogicalLength>§root_1_layoutinfo_h: Property<LayoutInfo>§root_1_layoutinfo_v: Property<LayoutInfo>§root_1_margin: Property<LogicalLength>§root_1_placeholder_3_horizontal_stretch: Property<f32>§root_1_placeholder_3_max_height: Property<LogicalLength>§root_1_placeholder_3_max_width: Property<LogicalLength>§root_1_placeholder_3_min_height: Property<LogicalLength>§root_1_placeholder_3_min_width: Property<LogicalLength>§root_1_placeholder_3_preferred_height: Property<LogicalLength>§root_1_placeholder_3_preferred_width: Property<LogicalLength>§root_1_placeholder_3_vertical_stretch: Property<f32>§root_1_placeholder_color: Property<Brush>§root_1_placeholder_text: Property<SharedString>§root_1_text_color: Property<Brush>§root_1_text_input_5_computed_x: Property<LogicalLength>§root_1_text_input_5_preferred_height: Property<LogicalLength>§root_1_text_input_5_preferred_width: Property<LogicalLength>§root_1_text_input_5_x: Property<LogicalLength>§root_1_width: Property<LogicalLength>§root_1_x: Property<LogicalLength>§root_1_accepted: Callback<(SharedString,), ()>§root_1_edited: Callback<(SharedString,), ()>§root_1_key_pressed: Callback<(KeyEvent,), EventResult>§root_1_key_released: Callback<(KeyEvent,), EventResult>§self_weak: OnceCell<VWeakMapped<ItemTreeVTable, InnerLineEditBase_root_1>>§globals: OnceCell<Rc<SharedGlobals>>§tree_index: Cell<u32>§tree_index_of_first_child: Cell<u32>Implementations§
Source§impl InnerLineEditBase_root_1
impl InnerLineEditBase_root_1
Sourcepub const FIELD_OFFSETS: InnerLineEditBase_root_1FieldsOffsets
pub const FIELD_OFFSETS: InnerLineEditBase_root_1FieldsOffsets
Return a struct containing the offset of for the fields of this struct
Source§impl InnerLineEditBase_root_1
impl InnerLineEditBase_root_1
fn init( self_rc: VRcMapped<ItemTreeVTable, Self>, globals: Rc<SharedGlobals>, tree_index: u32, tree_index_of_first_child: u32, )
fn user_init(self_rc: VRcMapped<ItemTreeVTable, Self>)
fn visit_dynamic_children( self: Pin<&Self>, dyn_index: u32, order: TraversalOrder, visitor: ItemVisitorRefMut<'_>, ) -> VisitChildrenResult
fn layout_info(self: Pin<&Self>, orientation: Orientation) -> LayoutInfo
fn subtree_range(self: Pin<&Self>, dyn_index: u32) -> IndexRange
fn subtree_component( self: Pin<&Self>, dyn_index: u32, subtree_index: usize, result: &mut ItemTreeWeak, )
fn index_property(self: Pin<&Self>) -> usize
fn item_geometry(self: Pin<&Self>, index: u32) -> LogicalRect
fn accessible_role(self: Pin<&Self>, index: u32) -> AccessibleRole
fn accessible_string_property( self: Pin<&Self>, index: u32, what: AccessibleStringProperty, ) -> Option<SharedString>
fn accessibility_action( self: Pin<&Self>, index: u32, action: &AccessibilityAction, )
fn supported_accessibility_actions( self: Pin<&Self>, index: u32, ) -> SupportedAccessibilityAction
fn item_element_infos(self: Pin<&Self>, index: u32) -> Option<SharedString>
pub fn fn_clear_focus(self: Pin<&Self>)
pub fn fn_clear_selection(self: Pin<&Self>)
pub fn fn_copy(self: Pin<&Self>)
pub fn fn_cut(self: Pin<&Self>)
pub fn fn_focus(self: Pin<&Self>)
pub fn fn_paste(self: Pin<&Self>)
pub fn fn_select_all(self: Pin<&Self>)
pub fn fn_set_selection_offsets(self: Pin<&Self>, arg_0: i32, arg_1: i32)
Trait Implementations§
Source§impl Default for InnerLineEditBase_root_1
impl Default for InnerLineEditBase_root_1
Source§fn default() -> InnerLineEditBase_root_1
fn default() -> InnerLineEditBase_root_1
Returns the “default value” for a type. Read more
impl<'__dummy_lifetime> Unpin for InnerLineEditBase_root_1where
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
Auto Trait Implementations§
impl !Freeze for InnerLineEditBase_root_1
impl !RefUnwindSafe for InnerLineEditBase_root_1
impl !Send for InnerLineEditBase_root_1
impl !Sync for InnerLineEditBase_root_1
impl !UnsafeUnpin for InnerLineEditBase_root_1
impl !UnwindSafe for InnerLineEditBase_root_1
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().