pub struct WidgetRef(/* private fields */);
Implementations§
Source§impl WidgetRef
impl WidgetRef
pub fn into_option(self) -> Option<WidgetRef>
pub fn empty() -> Self
pub fn is_empty(&self) -> bool
pub fn new_with_inner(widget: Box<dyn Widget>) -> Self
Sourcepub fn handle_event_with(
&self,
cx: &mut Cx,
event: &Event,
scope: &mut Scope<'_, '_>,
sweep_area: Area,
)
pub fn handle_event_with( &self, cx: &mut Cx, event: &Event, scope: &mut Scope<'_, '_>, sweep_area: Area, )
§handle event with a sweep area
this is used for the sweep event, this fn can help to pass the event into popup,
the widget should implement the handle_event_with
fn in impl Widget for $Widget
§Example
impl Widget for Button {
fn handle_event_with(&mut self, cx: &mut Cx, event: &Event, scope: &mut Scope, sweep_area: Area) {
let uid = self.widget_uid();
if self.animator_handle_event(cx, event).must_redraw() {
self.draw_button.redraw(cx);
}
match event.hits_with_options(cx, self.draw_button.area(), HitOptions::new().with_sweep_area(sweep_area) ) {
Hit::FingerDown(f_down) => {
if self.grab_key_focus {
cx.set_key_focus(self.sweep_area);
}
cx.widget_action(uid, &scope.path, GButtonEvent::Pressed(f_down.modifiers));
self.animator_play(cx, id!(hover.pressed));
}
_ =>()
}
}
§Details
See Flexible Popup
pub fn handle_event( &self, cx: &mut Cx, event: &Event, scope: &mut Scope<'_, '_>, )
Sourcepub fn widget_uid(&self) -> WidgetUid
pub fn widget_uid(&self) -> WidgetUid
Returns the unique ID (UID) of this widget.
Returns WidgetUid(0)
if the widget is currently borrowed or is empty.
pub fn area(&self) -> Area
pub fn widget_to_data( &self, cx: &mut Cx, actions: &Actions, nodes: &mut LiveNodeVec, path: &[LiveId], ) -> bool
pub fn set_action_data<T: ActionTrait + PartialEq>(&self, data: T)
pub fn set_action_data_always<T: ActionTrait>(&self, data: T)
pub fn data_to_widget(&self, cx: &mut Cx, nodes: &[LiveNode], path: &[LiveId])
pub fn uid_to_widget(&self, uid: WidgetUid) -> WidgetRef
pub fn clear_query_cache(&self)
pub fn find_widgets( &self, path: &[LiveId], cached: WidgetCache, results: &mut WidgetSet, )
pub fn widget(&self, path: &[LiveId]) -> WidgetRef
pub fn widgets(&self, paths: &[&[LiveId]]) -> WidgetSet
pub fn widget_set(&self, paths: &[&[LiveId]]) -> WidgetSet
pub fn draw_walk( &self, cx: &mut Cx2d<'_, '_>, scope: &mut Scope<'_, '_>, walk: Walk, ) -> DrawStep
pub fn draw_walk_all( &self, cx: &mut Cx2d<'_, '_>, scope: &mut Scope<'_, '_>, walk: Walk, )
pub fn draw_3d_all(&self, cx: &mut Cx3d<'_, '_>, scope: &mut Scope<'_, '_>)
pub fn draw_3d( &mut self, cx: &mut Cx3d<'_, '_>, scope: &mut Scope<'_, '_>, ) -> DrawStep
pub fn draw( &mut self, cx: &mut Cx2d<'_, '_>, scope: &mut Scope<'_, '_>, ) -> DrawStep
pub fn draw_unscoped(&mut self, cx: &mut Cx2d<'_, '_>) -> DrawStep
pub fn walk(&self, cx: &mut Cx) -> Walk
pub fn redraw(&self, cx: &mut Cx)
pub fn set_visible(&self, cx: &mut Cx, visible: bool)
pub fn visible(&self) -> bool
pub fn text(&self) -> String
pub fn set_text(&self, cx: &mut Cx, v: &str)
pub fn key_focus(&self, cx: &Cx) -> bool
pub fn set_key_focus(&self, cx: &mut Cx)
pub fn set_disabled(&self, cx: &mut Cx, disabled: bool)
pub fn disabled(&self, cx: &Cx) -> bool
pub fn draw_all(&self, cx: &mut Cx2d<'_, '_>, scope: &mut Scope<'_, '_>)
pub fn action_data(&self) -> Option<Arc<dyn ActionTrait>>
pub fn filter_actions<'a>( &'a self, actions: &'a Actions, ) -> impl Iterator<Item = &'a WidgetAction>
pub fn draw_all_unscoped(&self, cx: &mut Cx2d<'_, '_>)
pub fn borrow_mut<T: 'static + Widget>(&self) -> Option<RefMut<'_, T>>
pub fn borrow<T: 'static + Widget>(&self) -> Option<Ref<'_, T>>
pub fn apply_over(&self, cx: &mut Cx, nodes: &[LiveNode])
Trait Implementations§
Source§impl AdaptiveViewWidgetRefExt for WidgetRef
impl AdaptiveViewWidgetRefExt for WidgetRef
fn adaptive_view(&self, path: &[LiveId]) -> AdaptiveViewRef
fn as_adaptive_view(&self) -> AdaptiveViewRef
Source§impl BareStepSetWidgetRefExt for WidgetRef
impl BareStepSetWidgetRefExt for WidgetRef
fn bare_step_set(&self, paths: &[&[LiveId]]) -> BareStepSet
Source§impl BareStepWidgetRefExt for WidgetRef
impl BareStepWidgetRefExt for WidgetRef
fn bare_step(&self, path: &[LiveId]) -> BareStepRef
fn as_bare_step(&self) -> BareStepRef
Source§impl ButtonSetWidgetRefExt for WidgetRef
impl ButtonSetWidgetRefExt for WidgetRef
Source§impl ButtonWidgetRefExt for WidgetRef
impl ButtonWidgetRefExt for WidgetRef
Source§impl CachedWidgetWidgetRefExt for WidgetRef
impl CachedWidgetWidgetRefExt for WidgetRef
fn cached_widget(&self, path: &[LiveId]) -> CachedWidgetRef
fn as_cached_widget(&self) -> CachedWidgetRef
Source§impl CheckBoxSetWidgetRefExt for WidgetRef
impl CheckBoxSetWidgetRefExt for WidgetRef
fn check_box_set(&self, paths: &[&[LiveId]]) -> CheckBoxSet
Source§impl CheckBoxWidgetRefExt for WidgetRef
impl CheckBoxWidgetRefExt for WidgetRef
fn check_box(&self, path: &[LiveId]) -> CheckBoxRef
fn as_check_box(&self) -> CheckBoxRef
Source§impl ColorPickerSetWidgetRefExt for WidgetRef
impl ColorPickerSetWidgetRefExt for WidgetRef
fn color_picker_set(&self, paths: &[&[LiveId]]) -> ColorPickerSet
Source§impl ColorPickerWidgetRefExt for WidgetRef
impl ColorPickerWidgetRefExt for WidgetRef
fn color_picker(&self, path: &[LiveId]) -> ColorPickerRef
fn as_color_picker(&self) -> ColorPickerRef
Source§impl CommandTextInputSetWidgetRefExt for WidgetRef
impl CommandTextInputSetWidgetRefExt for WidgetRef
fn command_text_input_set(&self, paths: &[&[LiveId]]) -> CommandTextInputSet
Source§impl CommandTextInputWidgetRefExt for WidgetRef
impl CommandTextInputWidgetRefExt for WidgetRef
fn command_text_input(&self, path: &[LiveId]) -> CommandTextInputRef
fn as_command_text_input(&self) -> CommandTextInputRef
Source§impl DesignerContainerSetWidgetRefExt for WidgetRef
impl DesignerContainerSetWidgetRefExt for WidgetRef
fn designer_container_set(&self, paths: &[&[LiveId]]) -> DesignerContainerSet
Source§impl DesignerContainerWidgetRefExt for WidgetRef
impl DesignerContainerWidgetRefExt for WidgetRef
fn designer_container(&self, path: &[LiveId]) -> DesignerContainerRef
fn as_designer_container(&self) -> DesignerContainerRef
Source§impl DesignerOutlineSetWidgetRefExt for WidgetRef
impl DesignerOutlineSetWidgetRefExt for WidgetRef
fn designer_outline_set(&self, paths: &[&[LiveId]]) -> DesignerOutlineSet
Source§impl DesignerOutlineTreeSetWidgetRefExt for WidgetRef
impl DesignerOutlineTreeSetWidgetRefExt for WidgetRef
fn designer_outline_tree_set( &self, paths: &[&[LiveId]], ) -> DesignerOutlineTreeSet
Source§impl DesignerOutlineTreeWidgetRefExt for WidgetRef
impl DesignerOutlineTreeWidgetRefExt for WidgetRef
fn designer_outline_tree(&self, path: &[LiveId]) -> DesignerOutlineTreeRef
fn as_designer_outline_tree(&self) -> DesignerOutlineTreeRef
Source§impl DesignerOutlineWidgetRefExt for WidgetRef
impl DesignerOutlineWidgetRefExt for WidgetRef
fn designer_outline(&self, path: &[LiveId]) -> DesignerOutlineRef
fn as_designer_outline(&self) -> DesignerOutlineRef
Source§impl DesignerSetWidgetRefExt for WidgetRef
impl DesignerSetWidgetRefExt for WidgetRef
fn designer_set(&self, paths: &[&[LiveId]]) -> DesignerSet
Source§impl DesignerToolboxSetWidgetRefExt for WidgetRef
impl DesignerToolboxSetWidgetRefExt for WidgetRef
fn designer_toolbox_set(&self, paths: &[&[LiveId]]) -> DesignerToolboxSet
Source§impl DesignerToolboxWidgetRefExt for WidgetRef
impl DesignerToolboxWidgetRefExt for WidgetRef
fn designer_toolbox(&self, path: &[LiveId]) -> DesignerToolboxRef
fn as_designer_toolbox(&self) -> DesignerToolboxRef
Source§impl DesignerViewSetWidgetRefExt for WidgetRef
impl DesignerViewSetWidgetRefExt for WidgetRef
fn designer_view_set(&self, paths: &[&[LiveId]]) -> DesignerViewSet
Source§impl DesignerViewWidgetRefExt for WidgetRef
impl DesignerViewWidgetRefExt for WidgetRef
fn designer_view(&self, path: &[LiveId]) -> DesignerViewRef
fn as_designer_view(&self) -> DesignerViewRef
Source§impl DesignerWidgetRefExt for WidgetRef
impl DesignerWidgetRefExt for WidgetRef
fn designer(&self, path: &[LiveId]) -> DesignerRef
fn as_designer(&self) -> DesignerRef
Source§impl DockSetWidgetRefExt for WidgetRef
impl DockSetWidgetRefExt for WidgetRef
Source§impl DockWidgetRefExt for WidgetRef
impl DockWidgetRefExt for WidgetRef
Source§impl DropDownSetWidgetRefExt for WidgetRef
impl DropDownSetWidgetRefExt for WidgetRef
fn drop_down_set(&self, paths: &[&[LiveId]]) -> DropDownSet
Source§impl DropDownWidgetRefExt for WidgetRef
impl DropDownWidgetRefExt for WidgetRef
fn drop_down(&self, path: &[LiveId]) -> DropDownRef
fn as_drop_down(&self) -> DropDownRef
Source§impl ExpandablePanelSetWidgetRefExt for WidgetRef
impl ExpandablePanelSetWidgetRefExt for WidgetRef
fn expandable_panel_set(&self, paths: &[&[LiveId]]) -> ExpandablePanelSet
Source§impl ExpandablePanelWidgetRefExt for WidgetRef
impl ExpandablePanelWidgetRefExt for WidgetRef
fn expandable_panel(&self, path: &[LiveId]) -> ExpandablePanelRef
fn as_expandable_panel(&self) -> ExpandablePanelRef
Source§impl FileTreeSetWidgetRefExt for WidgetRef
impl FileTreeSetWidgetRefExt for WidgetRef
fn file_tree_set(&self, paths: &[&[LiveId]]) -> FileTreeSet
Source§impl FileTreeWidgetRefExt for WidgetRef
impl FileTreeWidgetRefExt for WidgetRef
fn file_tree(&self, path: &[LiveId]) -> FileTreeRef
fn as_file_tree(&self) -> FileTreeRef
Source§impl FlatListSetWidgetRefExt for WidgetRef
impl FlatListSetWidgetRefExt for WidgetRef
fn flat_list_set(&self, paths: &[&[LiveId]]) -> FlatListSet
Source§impl FlatListWidgetRefExt for WidgetRef
impl FlatListWidgetRefExt for WidgetRef
fn flat_list(&self, path: &[LiveId]) -> FlatListRef
fn as_flat_list(&self) -> FlatListRef
Source§impl FoldButtonWidgetRefExt for WidgetRef
impl FoldButtonWidgetRefExt for WidgetRef
Source§impl FoldHeaderSetWidgetRefExt for WidgetRef
impl FoldHeaderSetWidgetRefExt for WidgetRef
fn fold_header_set(&self, paths: &[&[LiveId]]) -> FoldHeaderSet
Source§impl FoldHeaderWidgetRefExt for WidgetRef
impl FoldHeaderWidgetRefExt for WidgetRef
fn fold_header(&self, path: &[LiveId]) -> FoldHeaderRef
fn as_fold_header(&self) -> FoldHeaderRef
Source§impl HtmlLinkSetWidgetRefExt for WidgetRef
impl HtmlLinkSetWidgetRefExt for WidgetRef
fn html_link_set(&self, paths: &[&[LiveId]]) -> HtmlLinkSet
Source§impl HtmlLinkWidgetRefExt for WidgetRef
impl HtmlLinkWidgetRefExt for WidgetRef
fn html_link(&self, path: &[LiveId]) -> HtmlLinkRef
fn as_html_link(&self) -> HtmlLinkRef
Source§impl HtmlSetWidgetRefExt for WidgetRef
impl HtmlSetWidgetRefExt for WidgetRef
Source§impl HtmlWidgetRefExt for WidgetRef
impl HtmlWidgetRefExt for WidgetRef
Source§impl IconSetWidgetRefExt for WidgetRef
impl IconSetWidgetRefExt for WidgetRef
Source§impl IconWidgetRefExt for WidgetRef
impl IconWidgetRefExt for WidgetRef
Source§impl ImageBlendSetWidgetRefExt for WidgetRef
impl ImageBlendSetWidgetRefExt for WidgetRef
fn image_blend_set(&self, paths: &[&[LiveId]]) -> ImageBlendSet
Source§impl ImageBlendWidgetRefExt for WidgetRef
impl ImageBlendWidgetRefExt for WidgetRef
fn image_blend(&self, path: &[LiveId]) -> ImageBlendRef
fn as_image_blend(&self) -> ImageBlendRef
Source§impl ImageSetWidgetRefExt for WidgetRef
impl ImageSetWidgetRefExt for WidgetRef
Source§impl ImageWidgetRefExt for WidgetRef
impl ImageWidgetRefExt for WidgetRef
Source§impl KeyboardViewSetWidgetRefExt for WidgetRef
impl KeyboardViewSetWidgetRefExt for WidgetRef
fn keyboard_view_set(&self, paths: &[&[LiveId]]) -> KeyboardViewSet
Source§impl KeyboardViewWidgetRefExt for WidgetRef
impl KeyboardViewWidgetRefExt for WidgetRef
fn keyboard_view(&self, path: &[LiveId]) -> KeyboardViewRef
fn as_keyboard_view(&self) -> KeyboardViewRef
Source§impl LabelSetWidgetRefExt for WidgetRef
impl LabelSetWidgetRefExt for WidgetRef
Source§impl LabelWidgetRefExt for WidgetRef
impl LabelWidgetRefExt for WidgetRef
Source§impl LinkLabelSetWidgetRefExt for WidgetRef
impl LinkLabelSetWidgetRefExt for WidgetRef
fn link_label_set(&self, paths: &[&[LiveId]]) -> LinkLabelSet
Source§impl LinkLabelWidgetRefExt for WidgetRef
impl LinkLabelWidgetRefExt for WidgetRef
fn link_label(&self, path: &[LiveId]) -> LinkLabelRef
fn as_link_label(&self) -> LinkLabelRef
Source§impl ListSetWidgetRefExt for WidgetRef
impl ListSetWidgetRefExt for WidgetRef
Source§impl ListWidgetRefExt for WidgetRef
impl ListWidgetRefExt for WidgetRef
Source§impl LiveHook for WidgetRef
impl LiveHook for WidgetRef
fn apply_value_unknown( &mut self, cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, index: usize, nodes: &[LiveNode], ) -> usize
fn skip_apply_animator( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], ) -> bool
fn apply_value_instance( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, index: usize, nodes: &[LiveNode], ) -> usize
fn skip_apply( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], ) -> Option<usize>
fn before_apply( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], )
fn after_apply( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], )
fn after_apply_from(&mut self, cx: &mut Cx, apply: &mut Apply<'_, '_, '_>)
fn after_new_from_doc(&mut self, _cx: &mut Cx)
fn after_update_from_doc(&mut self, _cx: &mut Cx)
fn after_apply_from_doc(&mut self, _cx: &mut Cx)
fn after_new_before_apply(&mut self, _cx: &mut Cx)
Source§impl LiveNew for WidgetRef
impl LiveNew for WidgetRef
fn new(_cx: &mut Cx) -> Self
fn live_type_info(_cx: &mut Cx) -> LiveTypeInfo
fn live_design_with(_cx: &mut Cx)
fn new_apply(
cx: &mut Cx,
apply: &mut Apply<'_, '_, '_>,
index: usize,
nodes: &[LiveNode],
) -> Selfwhere
Self: Sized,
fn new_apply_over(cx: &mut Cx, nodes: &[LiveNode]) -> Selfwhere
Self: Sized,
fn new_apply_mut_index(
cx: &mut Cx,
apply: &mut Apply<'_, '_, '_>,
index: &mut usize,
nodes: &[LiveNode],
) -> Selfwhere
Self: Sized,
fn new_from_ptr(cx: &mut Cx, live_ptr: Option<LivePtr>) -> Selfwhere
Self: Sized,
fn update_from_ptr(&mut self, cx: &mut Cx, live_ptr: Option<LivePtr>)
fn update_from_ptr_with_scope( &mut self, cx: &mut Cx, live_ptr: Option<LivePtr>, scope: &mut Scope<'_, '_>, )
fn new_from_ptr_with_scope(
cx: &mut Cx,
live_ptr: Option<LivePtr>,
scope: &mut Scope<'_, '_>,
) -> Selfwhere
Self: Sized,
fn new_main(cx: &mut Cx) -> Option<Self>where
Self: Sized,
fn register_main_module(cx: &mut Cx)
fn update_main(&mut self, cx: &mut Cx)
fn new_local(cx: &mut Cx) -> Selfwhere
Self: Sized,
fn new_from_module(
cx: &mut Cx,
module_id: LiveModuleId,
id: LiveId,
) -> Option<Self>where
Self: Sized,
fn update_from_module( &mut self, cx: &mut Cx, module_id: LiveModuleId, id: LiveId, )
Source§impl MarkdownLinkSetWidgetRefExt for WidgetRef
impl MarkdownLinkSetWidgetRefExt for WidgetRef
fn markdown_link_set(&self, paths: &[&[LiveId]]) -> MarkdownLinkSet
Source§impl MarkdownLinkWidgetRefExt for WidgetRef
impl MarkdownLinkWidgetRefExt for WidgetRef
fn markdown_link(&self, path: &[LiveId]) -> MarkdownLinkRef
fn as_markdown_link(&self) -> MarkdownLinkRef
Source§impl MarkdownSetWidgetRefExt for WidgetRef
impl MarkdownSetWidgetRefExt for WidgetRef
fn markdown_set(&self, paths: &[&[LiveId]]) -> MarkdownSet
Source§impl MarkdownWidgetRefExt for WidgetRef
impl MarkdownWidgetRefExt for WidgetRef
fn markdown(&self, path: &[LiveId]) -> MarkdownRef
fn as_markdown(&self) -> MarkdownRef
Source§impl ModalSetWidgetRefExt for WidgetRef
impl ModalSetWidgetRefExt for WidgetRef
Source§impl ModalWidgetRefExt for WidgetRef
impl ModalWidgetRefExt for WidgetRef
Source§impl MultiImageSetWidgetRefExt for WidgetRef
impl MultiImageSetWidgetRefExt for WidgetRef
fn multi_image_set(&self, paths: &[&[LiveId]]) -> MultiImageSet
Source§impl MultiImageWidgetRefExt for WidgetRef
impl MultiImageWidgetRefExt for WidgetRef
fn multi_image(&self, path: &[LiveId]) -> MultiImageRef
fn as_multi_image(&self) -> MultiImageRef
Source§impl MultiWindowWidgetRefExt for WidgetRef
impl MultiWindowWidgetRefExt for WidgetRef
fn multi_window(&self, path: &[LiveId]) -> MultiWindowRef
fn as_multi_window(&self) -> MultiWindowRef
Source§impl PageFlipSetWidgetRefExt for WidgetRef
impl PageFlipSetWidgetRefExt for WidgetRef
fn page_flip_set(&self, paths: &[&[LiveId]]) -> PageFlipSet
Source§impl PageFlipWidgetRefExt for WidgetRef
impl PageFlipWidgetRefExt for WidgetRef
fn page_flip(&self, path: &[LiveId]) -> PageFlipRef
fn as_page_flip(&self) -> PageFlipRef
Source§impl PerformanceLiveGraphSetWidgetRefExt for WidgetRef
impl PerformanceLiveGraphSetWidgetRefExt for WidgetRef
fn performance_live_graph_set( &self, paths: &[&[LiveId]], ) -> PerformanceLiveGraphSet
Source§impl PerformanceLiveGraphWidgetRefExt for WidgetRef
impl PerformanceLiveGraphWidgetRefExt for WidgetRef
fn performance_live_graph(&self, path: &[LiveId]) -> PerformanceLiveGraphRef
fn as_performance_live_graph(&self) -> PerformanceLiveGraphRef
Source§impl PerformanceViewSetWidgetRefExt for WidgetRef
impl PerformanceViewSetWidgetRefExt for WidgetRef
fn performance_view_set(&self, paths: &[&[LiveId]]) -> PerformanceViewSet
Source§impl PerformanceViewWidgetRefExt for WidgetRef
impl PerformanceViewWidgetRefExt for WidgetRef
fn performance_view(&self, path: &[LiveId]) -> PerformanceViewRef
fn as_performance_view(&self) -> PerformanceViewRef
Source§impl PopupNotificationSetWidgetRefExt for WidgetRef
impl PopupNotificationSetWidgetRefExt for WidgetRef
fn popup_notification_set(&self, paths: &[&[LiveId]]) -> PopupNotificationSet
Source§impl PopupNotificationWidgetRefExt for WidgetRef
impl PopupNotificationWidgetRefExt for WidgetRef
fn popup_notification(&self, path: &[LiveId]) -> PopupNotificationRef
fn as_popup_notification(&self) -> PopupNotificationRef
Source§impl PortalList2SetWidgetRefExt for WidgetRef
impl PortalList2SetWidgetRefExt for WidgetRef
fn portal_list2_set(&self, paths: &[&[LiveId]]) -> PortalList2Set
Source§impl PortalList2WidgetRefExt for WidgetRef
impl PortalList2WidgetRefExt for WidgetRef
fn portal_list2(&self, path: &[LiveId]) -> PortalList2Ref
fn as_portal_list2(&self) -> PortalList2Ref
Source§impl PortalListSetWidgetRefExt for WidgetRef
impl PortalListSetWidgetRefExt for WidgetRef
fn portal_list_set(&self, paths: &[&[LiveId]]) -> PortalListSet
Source§impl PortalListWidgetRefExt for WidgetRef
impl PortalListWidgetRefExt for WidgetRef
fn portal_list(&self, path: &[LiveId]) -> PortalListRef
fn as_portal_list(&self) -> PortalListRef
Source§impl RadioButtonWidgetRefExt for WidgetRef
impl RadioButtonWidgetRefExt for WidgetRef
Source§impl RootWidgetRefExt for WidgetRef
impl RootWidgetRefExt for WidgetRef
Source§impl RotatedImageSetWidgetRefExt for WidgetRef
impl RotatedImageSetWidgetRefExt for WidgetRef
fn rotated_image_set(&self, paths: &[&[LiveId]]) -> RotatedImageSet
Source§impl RotatedImageWidgetRefExt for WidgetRef
impl RotatedImageWidgetRefExt for WidgetRef
fn rotated_image(&self, path: &[LiveId]) -> RotatedImageRef
fn as_rotated_image(&self) -> RotatedImageRef
Source§impl SlidePanelSetWidgetRefExt for WidgetRef
impl SlidePanelSetWidgetRefExt for WidgetRef
fn slide_panel_set(&self, paths: &[&[LiveId]]) -> SlidePanelSet
Source§impl SlidePanelWidgetRefExt for WidgetRef
impl SlidePanelWidgetRefExt for WidgetRef
fn slide_panel(&self, path: &[LiveId]) -> SlidePanelRef
fn as_slide_panel(&self) -> SlidePanelRef
Source§impl SliderSetWidgetRefExt for WidgetRef
impl SliderSetWidgetRefExt for WidgetRef
fn slider_set(&self, paths: &[&[LiveId]]) -> SliderSet
Source§impl SliderWidgetRefExt for WidgetRef
impl SliderWidgetRefExt for WidgetRef
Source§impl SlidesViewSetWidgetRefExt for WidgetRef
impl SlidesViewSetWidgetRefExt for WidgetRef
fn slides_view_set(&self, paths: &[&[LiveId]]) -> SlidesViewSet
Source§impl SlidesViewWidgetRefExt for WidgetRef
impl SlidesViewWidgetRefExt for WidgetRef
fn slides_view(&self, path: &[LiveId]) -> SlidesViewRef
fn as_slides_view(&self) -> SlidesViewRef
Source§impl SplitterSetWidgetRefExt for WidgetRef
impl SplitterSetWidgetRefExt for WidgetRef
fn splitter_set(&self, paths: &[&[LiveId]]) -> SplitterSet
Source§impl SplitterWidgetRefExt for WidgetRef
impl SplitterWidgetRefExt for WidgetRef
fn splitter(&self, path: &[LiveId]) -> SplitterRef
fn as_splitter(&self) -> SplitterRef
Source§impl TabBarSetWidgetRefExt for WidgetRef
impl TabBarSetWidgetRefExt for WidgetRef
fn tab_bar_set(&self, paths: &[&[LiveId]]) -> TabBarSet
Source§impl TabBarWidgetRefExt for WidgetRef
impl TabBarWidgetRefExt for WidgetRef
Source§impl TextFlowLinkSetWidgetRefExt for WidgetRef
impl TextFlowLinkSetWidgetRefExt for WidgetRef
fn text_flow_link_set(&self, paths: &[&[LiveId]]) -> TextFlowLinkSet
Source§impl TextFlowLinkWidgetRefExt for WidgetRef
impl TextFlowLinkWidgetRefExt for WidgetRef
fn text_flow_link(&self, path: &[LiveId]) -> TextFlowLinkRef
fn as_text_flow_link(&self) -> TextFlowLinkRef
Source§impl TextFlowSetWidgetRefExt for WidgetRef
impl TextFlowSetWidgetRefExt for WidgetRef
fn text_flow_set(&self, paths: &[&[LiveId]]) -> TextFlowSet
Source§impl TextFlowWidgetRefExt for WidgetRef
impl TextFlowWidgetRefExt for WidgetRef
fn text_flow(&self, path: &[LiveId]) -> TextFlowRef
fn as_text_flow(&self) -> TextFlowRef
Source§impl TextInputSetWidgetRefExt for WidgetRef
impl TextInputSetWidgetRefExt for WidgetRef
fn text_input_set(&self, paths: &[&[LiveId]]) -> TextInputSet
Source§impl TextInputWidgetRefExt for WidgetRef
impl TextInputWidgetRefExt for WidgetRef
fn text_input(&self, path: &[LiveId]) -> TextInputRef
fn as_text_input(&self) -> TextInputRef
Source§impl TogglePanelSetWidgetRefExt for WidgetRef
impl TogglePanelSetWidgetRefExt for WidgetRef
fn toggle_panel_set(&self, paths: &[&[LiveId]]) -> TogglePanelSet
Source§impl TogglePanelWidgetRefExt for WidgetRef
impl TogglePanelWidgetRefExt for WidgetRef
fn toggle_panel(&self, path: &[LiveId]) -> TogglePanelRef
fn as_toggle_panel(&self) -> TogglePanelRef
Source§impl TooltipSetWidgetRefExt for WidgetRef
impl TooltipSetWidgetRefExt for WidgetRef
fn tooltip_set(&self, paths: &[&[LiveId]]) -> TooltipSet
Source§impl TooltipWidgetRefExt for WidgetRef
impl TooltipWidgetRefExt for WidgetRef
fn tooltip(&self, path: &[LiveId]) -> TooltipRef
fn as_tooltip(&self) -> TooltipRef
Source§impl TurtleStepSetWidgetRefExt for WidgetRef
impl TurtleStepSetWidgetRefExt for WidgetRef
fn turtle_step_set(&self, paths: &[&[LiveId]]) -> TurtleStepSet
Source§impl TurtleStepWidgetRefExt for WidgetRef
impl TurtleStepWidgetRefExt for WidgetRef
fn turtle_step(&self, path: &[LiveId]) -> TurtleStepRef
fn as_turtle_step(&self) -> TurtleStepRef
Source§impl VectorLineSetWidgetRefExt for WidgetRef
impl VectorLineSetWidgetRefExt for WidgetRef
fn vector_line_set(&self, paths: &[&[LiveId]]) -> VectorLineSet
Source§impl VectorLineWidgetRefExt for WidgetRef
impl VectorLineWidgetRefExt for WidgetRef
fn vector_line(&self, path: &[LiveId]) -> VectorLineRef
fn as_vector_line(&self) -> VectorLineRef
Source§impl VideoSetWidgetRefExt for WidgetRef
impl VideoSetWidgetRefExt for WidgetRef
Source§impl VideoWidgetRefExt for WidgetRef
impl VideoWidgetRefExt for WidgetRef
Source§impl ViewSetWidgetRefExt for WidgetRef
impl ViewSetWidgetRefExt for WidgetRef
Source§impl ViewWidgetRefExt for WidgetRef
impl ViewWidgetRefExt for WidgetRef
Source§impl WebViewSetWidgetRefExt for WidgetRef
impl WebViewSetWidgetRefExt for WidgetRef
fn web_view_set(&self, paths: &[&[LiveId]]) -> WebViewSet
Source§impl WebViewWidgetRefExt for WidgetRef
impl WebViewWidgetRefExt for WidgetRef
fn web_view(&self, path: &[LiveId]) -> WebViewRef
fn as_web_view(&self) -> WebViewRef
Source§impl WindowMenuWidgetRefExt for WidgetRef
impl WindowMenuWidgetRefExt for WidgetRef
Source§impl WindowSetWidgetRefExt for WidgetRef
impl WindowSetWidgetRefExt for WidgetRef
fn window_set(&self, paths: &[&[LiveId]]) -> WindowSet
Source§impl WindowWidgetRefExt for WidgetRef
impl WindowWidgetRefExt for WidgetRef
Source§impl XrHandsSetWidgetRefExt for WidgetRef
impl XrHandsSetWidgetRefExt for WidgetRef
fn xr_hands_set(&self, paths: &[&[LiveId]]) -> XrHandsSet
Source§impl XrHandsWidgetRefExt for WidgetRef
impl XrHandsWidgetRefExt for WidgetRef
fn xr_hands(&self, path: &[LiveId]) -> XrHandsRef
fn as_xr_hands(&self) -> XrHandsRef
Auto Trait Implementations§
impl Freeze for WidgetRef
impl !RefUnwindSafe for WidgetRef
impl !Send for WidgetRef
impl !Sync for WidgetRef
impl Unpin for WidgetRef
impl !UnwindSafe for WidgetRef
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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