#[repr(C)]pub struct InnerAppWindow {Show 64 fields
root_113: WindowItem,
rectangle_114: Rectangle,
_Opacity_374: Opacity,
_shadow_375: BoxShadow,
rectangle_376: BasicBorderRectangle,
text_379: SimpleText,
icondisplay_378: InnerIconDisplay_root_24,
root_113_active_filter: Property<i32>,
root_113_active_tab: Property<i32>,
root_113_app_state: Property<SharedString>,
root_113_connection_status: Property<SharedString>,
root_113_cpu_cores: Property<SharedString>,
root_113_cpu_usage: Property<SharedString>,
root_113_empty_377_layout_cache: Property<SharedVector<Coord>>,
root_113_empty_377_layoutinfo_h: Property<LayoutInfo>,
root_113_empty_377_layoutinfo_v: Property<LayoutInfo>,
root_113_layoutinfo_h: Property<LayoutInfo>,
root_113_layoutinfo_v: Property<LayoutInfo>,
root_113_log_count: Property<SharedString>,
root_113_log_model: Property<ModelRc<LogEntry>>,
root_113_minimize_to_tray: Property<bool>,
root_113_node_enabled: Property<bool>,
root_113_node_name: Property<SharedString>,
root_113_public_key: Property<SharedString>,
root_113_rectangle_376_preferred_width: Property<LogicalLength>,
root_113_rectangle_376_width: Property<LogicalLength>,
root_113_rectangle_376_y: Property<LogicalLength>,
root_113_resource_chart: Property<Image>,
root_113_search_text: Property<SharedString>,
root_113_show_copied_feedback: Property<bool>,
root_113_show_unlink_confirm: Property<bool>,
root_113_sims_per_second: Property<SharedString>,
root_113_throughput_chart: Property<Image>,
root_113_token_error: Property<SharedString>,
root_113_token_text: Property<SharedString>,
root_113_token_valid: Property<bool>,
root_113_unlink_busy: Property<bool>,
root_113_unlink_error: Property<SharedString>,
root_113_update_status: Property<SharedString>,
root_113_version_text: Property<SharedString>,
root_113_check_for_updates: Callback<(), ()>,
root_113_copy_log_entry: Callback<(SharedString,), ()>,
root_113_copy_public_key: Callback<(), ()>,
root_113_open_logs: Callback<(), ()>,
root_113_open_portal: Callback<(), ()>,
root_113_register: Callback<(SharedString,), ()>,
root_113_search_changed: Callback<(SharedString,), ()>,
root_113_set_filter: Callback<(i32,), ()>,
root_113_toggle_minimize_to_tray: Callback<(), ()>,
root_113_toggle_node: Callback<(), ()>,
root_113_token_changed: Callback<(SharedString,), ()>,
root_113_unlink: Callback<(), ()>,
repeater0: Conditional<InnerComponent_setupview_115>,
repeater1: Conditional<InnerComponent_statusmessage_117>,
repeater2: Conditional<InnerComponent_statusmessage_119>,
repeater3: Conditional<InnerComponent_statusmessage_121>,
repeater4: Conditional<InnerComponent_statusmessage_123>,
repeater5: Conditional<InnerComponent_statusmessage_125>,
repeater6: Conditional<InnerComponent_empty_127>,
repeater7: Conditional<InnerComponent_unlinkdialog_372>,
self_weak: OnceCell<VWeakMapped<ItemTreeVTable, InnerAppWindow>>,
globals: OnceCell<Rc<SharedGlobals>>,
tree_index: Cell<u32>,
tree_index_of_first_child: Cell<u32>,
}Fields§
§root_113: WindowItem§rectangle_114: Rectangle§_Opacity_374: Opacity§_shadow_375: BoxShadow§rectangle_376: BasicBorderRectangle§text_379: SimpleText§icondisplay_378: InnerIconDisplay_root_24§root_113_active_filter: Property<i32>§root_113_active_tab: Property<i32>§root_113_app_state: Property<SharedString>§root_113_connection_status: Property<SharedString>§root_113_cpu_cores: Property<SharedString>§root_113_cpu_usage: Property<SharedString>§root_113_empty_377_layout_cache: Property<SharedVector<Coord>>§root_113_empty_377_layoutinfo_h: Property<LayoutInfo>§root_113_empty_377_layoutinfo_v: Property<LayoutInfo>§root_113_layoutinfo_h: Property<LayoutInfo>§root_113_layoutinfo_v: Property<LayoutInfo>§root_113_log_count: Property<SharedString>§root_113_log_model: Property<ModelRc<LogEntry>>§root_113_minimize_to_tray: Property<bool>§root_113_node_enabled: Property<bool>§root_113_node_name: Property<SharedString>§root_113_public_key: Property<SharedString>§root_113_rectangle_376_preferred_width: Property<LogicalLength>§root_113_rectangle_376_width: Property<LogicalLength>§root_113_rectangle_376_y: Property<LogicalLength>§root_113_resource_chart: Property<Image>§root_113_search_text: Property<SharedString>§root_113_show_copied_feedback: Property<bool>§root_113_show_unlink_confirm: Property<bool>§root_113_sims_per_second: Property<SharedString>§root_113_throughput_chart: Property<Image>§root_113_token_error: Property<SharedString>§root_113_token_text: Property<SharedString>§root_113_token_valid: Property<bool>§root_113_unlink_busy: Property<bool>§root_113_unlink_error: Property<SharedString>§root_113_update_status: Property<SharedString>§root_113_version_text: Property<SharedString>§root_113_check_for_updates: Callback<(), ()>§root_113_copy_log_entry: Callback<(SharedString,), ()>§root_113_copy_public_key: Callback<(), ()>§root_113_open_logs: Callback<(), ()>§root_113_open_portal: Callback<(), ()>§root_113_register: Callback<(SharedString,), ()>§root_113_search_changed: Callback<(SharedString,), ()>§root_113_set_filter: Callback<(i32,), ()>§root_113_toggle_minimize_to_tray: Callback<(), ()>§root_113_toggle_node: Callback<(), ()>§root_113_token_changed: Callback<(SharedString,), ()>§root_113_unlink: Callback<(), ()>§repeater0: Conditional<InnerComponent_setupview_115>§repeater1: Conditional<InnerComponent_statusmessage_117>§repeater2: Conditional<InnerComponent_statusmessage_119>§repeater3: Conditional<InnerComponent_statusmessage_121>§repeater4: Conditional<InnerComponent_statusmessage_123>§repeater5: Conditional<InnerComponent_statusmessage_125>§repeater6: Conditional<InnerComponent_empty_127>§repeater7: Conditional<InnerComponent_unlinkdialog_372>§self_weak: OnceCell<VWeakMapped<ItemTreeVTable, InnerAppWindow>>§globals: OnceCell<Rc<SharedGlobals>>§tree_index: Cell<u32>§tree_index_of_first_child: Cell<u32>Implementations§
Source§impl InnerAppWindow
impl InnerAppWindow
Sourcepub const FIELD_OFFSETS: InnerAppWindowFieldsOffsets
pub const FIELD_OFFSETS: InnerAppWindowFieldsOffsets
Return a struct containing the offset of for the fields of this struct
Source§impl InnerAppWindow
impl InnerAppWindow
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>
Trait Implementations§
Source§impl Default for InnerAppWindow
impl Default for InnerAppWindow
Source§fn default() -> InnerAppWindow
fn default() -> InnerAppWindow
Returns the “default value” for a type. Read more
Source§impl Drop for InnerAppWindow
impl Drop for InnerAppWindow
Source§impl HasStaticVTable<ItemTreeVTable> for InnerAppWindow
impl HasStaticVTable<ItemTreeVTable> for InnerAppWindow
Source§fn static_vtable() -> &'static ItemTreeVTable
fn static_vtable() -> &'static ItemTreeVTable
Safety: must be a valid VTable for Self
Source§impl ItemTree for InnerAppWindow
impl ItemTree for InnerAppWindow
Source§fn visit_children_item(
self: Pin<&Self>,
index: isize,
order: TraversalOrder,
visitor: ItemVisitorRefMut<'_>,
) -> VisitChildrenResult
fn visit_children_item( self: Pin<&Self>, index: isize, order: TraversalOrder, visitor: ItemVisitorRefMut<'_>, ) -> VisitChildrenResult
Visit the children of the item at index
index.
Note that the root item is at index 0, so passing 0 would visit the item under root (the children of root).
If you want to visit the root item, you need to pass -1 as an index.Source§fn get_item_ref(self: Pin<&Self>, index: u32) -> Pin<ItemRef<'_>>
fn get_item_ref(self: Pin<&Self>, index: u32) -> Pin<ItemRef<'_>>
Return a reference to an item using the given index
Source§fn get_item_tree(self: Pin<&Self>) -> Slice<'_, ItemTreeNode>
fn get_item_tree(self: Pin<&Self>) -> Slice<'_, ItemTreeNode>
Return the item tree that is defined by this
ItemTree.Source§fn get_subtree_range(self: Pin<&Self>, index: u32) -> IndexRange
fn get_subtree_range(self: Pin<&Self>, index: u32) -> IndexRange
Return the range of indices below the dynamic
ItemTreeNode at indexSource§fn get_subtree(
self: Pin<&Self>,
index: u32,
subtree_index: usize,
result: &mut ItemTreeWeak,
)
fn get_subtree( self: Pin<&Self>, index: u32, subtree_index: usize, result: &mut ItemTreeWeak, )
Return the
ItemTreeRc at subindex below the dynamic ItemTreeNode at indexSource§fn subtree_index(self: Pin<&Self>) -> usize
fn subtree_index(self: Pin<&Self>) -> usize
Return the index of the current subtree or usize::MAX if this is not a subtree
Source§fn parent_node(self: Pin<&Self>, _result: &mut ItemWeak)
fn parent_node(self: Pin<&Self>, _result: &mut ItemWeak)
Return the node this ItemTree is a part of in the parent ItemTree. Read more
Source§fn embed_component(
self: Pin<&Self>,
_parent_component: &ItemTreeWeak,
_item_tree_index: u32,
) -> bool
fn embed_component( self: Pin<&Self>, _parent_component: &ItemTreeWeak, _item_tree_index: u32, ) -> bool
This embeds this ItemTree into the item tree of another ItemTree Read more
Source§fn layout_info(self: Pin<&Self>, orientation: Orientation) -> LayoutInfo
fn layout_info(self: Pin<&Self>, orientation: Orientation) -> LayoutInfo
Returns the layout info for the root of the ItemTree
Source§fn item_geometry(self: Pin<&Self>, index: u32) -> LogicalRect
fn item_geometry(self: Pin<&Self>, index: u32) -> LogicalRect
Returns the item’s geometry (relative to its parent item)
Source§fn accessible_role(self: Pin<&Self>, index: u32) -> AccessibleRole
fn accessible_role(self: Pin<&Self>, index: u32) -> AccessibleRole
Returns the accessible role for a given item
Source§fn accessible_string_property(
self: Pin<&Self>,
index: u32,
what: AccessibleStringProperty,
result: &mut SharedString,
) -> bool
fn accessible_string_property( self: Pin<&Self>, index: u32, what: AccessibleStringProperty, result: &mut SharedString, ) -> bool
Returns the accessible property via the
result. Returns true if such a property exists.Source§fn accessibility_action(
self: Pin<&Self>,
index: u32,
action: &AccessibilityAction,
)
fn accessibility_action( self: Pin<&Self>, index: u32, action: &AccessibilityAction, )
Executes an accessibility action.
Source§fn supported_accessibility_actions(
self: Pin<&Self>,
index: u32,
) -> SupportedAccessibilityAction
fn supported_accessibility_actions( self: Pin<&Self>, index: u32, ) -> SupportedAccessibilityAction
Returns the supported accessibility actions.
Source§impl PinnedDrop for InnerAppWindow
impl PinnedDrop for InnerAppWindow
Source§fn drop(self: Pin<&mut InnerAppWindow>)
fn drop(self: Pin<&mut InnerAppWindow>)
This is the equivalent to the regular Drop trait with the difference that self
is pinned.
impl<'__dummy_lifetime> Unpin for InnerAppWindowwhere
__MustNotImplUnpin<'__dummy_lifetime>: Unpin,
Auto Trait Implementations§
impl !Freeze for InnerAppWindow
impl !RefUnwindSafe for InnerAppWindow
impl !Send for InnerAppWindow
impl !Sync for InnerAppWindow
impl !UnsafeUnpin for InnerAppWindow
impl !UnwindSafe for InnerAppWindow
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().