SttInput

Struct SttInput 

Source
pub struct SttInput {
    pub deref: View,
    /* private fields */
}

Fields§

§deref: View

Implementations§

Source§

impl SttInput

Source

pub fn set_stt_utility(&mut self, utility: Option<SttUtility>)

Sets the STT utility to be used for transcription.

Source

pub fn stt_utility(&self) -> Option<&SttUtility>

Getter for the current STT utility.

Source

pub fn start_recording(&mut self, cx: &mut Cx)

Begins recording audio from the microphone.

Source

pub fn finish_recording(&mut self, cx: &mut Cx, scope: &mut Scope<'_, '_>)

Completes the recording and starts the transcription process.

Source

pub fn cancel_recording(&mut self, cx: &mut Cx, _scope: &mut Scope<'_, '_>)

Cancels the ongoing recording or transcription.

This stops the audio device and aborts the async transcription request.

Source

pub fn transcribed(&self, actions: &Actions) -> Option<String>

When the transcription is ready, read it from the actions.

Source

pub fn cancelled(&self, actions: &Actions) -> bool

Check if the transcription was cancelled.

Methods from Deref<Target = View>§

pub fn set_debug_dump(&mut self, cx: &mut Cx, debug: bool)

pub fn repaint(&mut self, cx: &mut Cx)

pub fn swap_child(&mut self, pos_a: usize, pos_b: usize)

pub fn child_index(&mut self, comp: &WidgetRef) -> Option<usize>

pub fn child_at_index(&mut self, index: usize) -> Option<&WidgetRef>

pub fn set_scroll_pos(&mut self, cx: &mut Cx, v: Vec2d)

pub fn area(&self) -> Area

pub fn walk_from_previous_size(&self, walk: Walk) -> Walk

pub fn child_count(&self) -> usize

pub fn debug_print_children(&self)

pub fn debug_props(&self) -> String

pub fn debug_dump_tree(&self, depth: usize) -> String

pub fn set_key_focus(&self, cx: &mut Cx)

Trait Implementations§

Source§

impl Deref for SttInput

Source§

type Target = View

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl DerefMut for SttInput

Source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
Source§

impl ScriptApply for SttInput

Source§

fn script_type_id(&self) -> ScriptTypeId

Source§

fn script_apply( &mut self, vm: &mut ScriptVm<'_>, apply: &Apply, scope: &mut Scope<'_, '_>, value: ScriptValue, )

Source§

fn script_to_value(&self, vm: &mut ScriptVm<'_>) -> ScriptValue

Source§

fn script_to_value_props(&self, vm: &mut ScriptVm<'_>, obj: ScriptObject)

Source§

fn script_source(&self) -> ScriptObject

§

fn script_apply_eval(&mut self, vm: &mut ScriptVm<'_>, script_mod: ScriptMod)

Evaluates a ScriptMod and applies the result to self. The ScriptMod is deduplicated by file/line/column so calling this repeatedly with the same source location won’t create multiple code blocks. The script code should be wrapped as __script_source__{...} and this method sets __script_source__ on the scope to self.script_source() before evaluation.
Source§

impl ScriptHook for SttInput

§

fn on_before_apply( &mut self, _vm: &mut ScriptVm<'_>, _apply: &Apply, _scope: &mut Scope<'_, '_>, _value: ScriptValue, )

§

fn on_before_dispatch( &mut self, vm: &mut ScriptVm<'_>, apply: &Apply, scope: &mut Scope<'_, '_>, _value: ScriptValue, )

§

fn on_after_apply( &mut self, _vm: &mut ScriptVm<'_>, _apply: &Apply, _scope: &mut Scope<'_, '_>, _value: ScriptValue, )

§

fn on_after_dispatch( &mut self, vm: &mut ScriptVm<'_>, apply: &Apply, scope: &mut Scope<'_, '_>, _value: ScriptValue, )

§

fn on_custom_apply( &mut self, _vm: &mut ScriptVm<'_>, _apply: &Apply, _scope: &mut Scope<'_, '_>, _value: ScriptValue, ) -> bool

§

fn on_type_check(_heap: &ScriptHeap, _value: ScriptValue) -> bool

§

fn on_proto_build( _vm: &mut ScriptVm<'_>, _obj: ScriptObject, _props: &mut ScriptTypeProps, )

§

fn on_proto_methods(_vm: &mut ScriptVm<'_>, _obj: ScriptObject)

§

fn on_alive(&self)

§

fn on_before_new(&mut self, _vm: &mut ScriptVm<'_>)

§

fn on_before_reload(&mut self, _vm: &mut ScriptVm<'_>)

§

fn on_after_new(&mut self, _vm: &mut ScriptVm<'_>)

§

fn on_after_reload(&mut self, _vm: &mut ScriptVm<'_>)

§

fn on_before_new_scoped( &mut self, vm: &mut ScriptVm<'_>, _scope: &mut Scope<'_, '_>, )

§

fn on_before_reload_scoped( &mut self, vm: &mut ScriptVm<'_>, _scope: &mut Scope<'_, '_>, )

§

fn on_after_new_scoped( &mut self, vm: &mut ScriptVm<'_>, _scope: &mut Scope<'_, '_>, )

§

fn on_after_reload_scoped( &mut self, vm: &mut ScriptVm<'_>, _scope: &mut Scope<'_, '_>, )

Source§

impl ScriptHookDeref for SttInput

Source§

fn on_deref_before_apply( &mut self, vm: &mut ScriptVm<'_>, apply: &Apply, scope: &mut Scope<'_, '_>, value: ScriptValue, )

Source§

fn on_deref_after_apply( &mut self, vm: &mut ScriptVm<'_>, apply: &Apply, scope: &mut Scope<'_, '_>, value: ScriptValue, )

Source§

impl ScriptNew for SttInput

Source§

fn script_type_id_static() -> ScriptTypeId

Source§

fn script_type_name() -> Option<LiveId>

Returns the LiveId name of this type for error messages. Override this in derive macro to provide meaningful type names.
Source§

fn script_new(vm: &mut ScriptVm<'_>) -> Self

Source§

fn script_proto_props( vm: &mut ScriptVm<'_>, obj: ScriptObject, props: &mut ScriptTypeProps, )

§

fn is_repr_u32_enum() -> bool

Returns true if this type is a repr(u32) enum. Override in derive macro for enums with discriminants. Used by shader compiler to treat the enum as u32.
§

fn script_type_check(heap: &ScriptHeap, value: ScriptValue) -> bool

§

fn script_pod(vm: &mut ScriptVm<'_>) -> Option<ScriptPodType>
where Self: Sized,

Builds a pod struct type from the macro-generated type reflection. This iterates through the ScriptTypeProps in order and generates a ScriptPodTy::Struct with fields matching the struct’s layout. Uses iter_rust_instance_ordered() to skip config fields before #deref.
§

fn script_default(vm: &mut ScriptVm<'_>) -> ScriptValue
where Self: Sized,

§

fn script_reload_default(vm: &mut ScriptVm<'_>) -> ScriptValue
where Self: Sized,

§

fn script_new_with_default(vm: &mut ScriptVm<'_>) -> Self
where Self: Sized,

§

fn from_script_mod( vm: &mut ScriptVm<'_>, f: fn(&mut ScriptVm<'_>) -> ScriptValue, ) -> Self
where Self: Sized,

§

fn script_from_value(vm: &mut ScriptVm<'_>, value: ScriptValue) -> Self
where Self: Sized,

§

fn script_from_value_scoped( vm: &mut ScriptVm<'_>, scope: &mut Scope<'_, '_>, value: ScriptValue, ) -> Self
where Self: Sized,

§

fn script_proto(vm: &mut ScriptVm<'_>) -> ScriptValue

§

fn script_proto_build( vm: &mut ScriptVm<'_>, props: &mut ScriptTypeProps, ) -> ScriptValue

§

fn script_api(vm: &mut ScriptVm<'_>) -> ScriptValue

§

fn script_component(vm: &mut ScriptVm<'_>) -> ScriptValue

§

fn script_shader(vm: &mut ScriptVm<'_>) -> ScriptValue

§

fn script_ext(vm: &mut ScriptVm<'_>) -> ScriptValue

§

fn script_enum_lookup_variant( vm: &mut ScriptVm<'_>, variant: LiveId, ) -> ScriptValue

Source§

impl Widget for SttInput

Source§

fn draw_walk( &mut self, cx: &mut Cx2d<'_, '_>, scope: &mut Scope<'_, '_>, walk: Walk, ) -> DrawStep

Source§

fn handle_event( &mut self, cx: &mut Cx, event: &Event, scope: &mut Scope<'_, '_>, )

§

fn handle_event_with( &mut self, cx: &mut Cx, event: &Event, scope: &mut Scope<'_, '_>, _sweep_area: Area, )

§

fn script_call( &mut self, _vm: &mut ScriptVm<'_>, _method: LiveId, _args: ScriptValue, ) -> ScriptAsyncResult

§

fn script_result( &mut self, _vm: &mut ScriptVm<'_>, _id: ScriptAsyncId, _result: ScriptValue, )

§

fn is_interactive(&self) -> bool

Whether this widget is interactive (wants mouse/touch events like hover, click). Defaults to true. Override to return false for non-interactive widgets.
§

fn widget(&self, cx: &Cx, path: &[LiveId]) -> WidgetRef

§

fn widgets(&self, cx: &Cx, paths: &[&[LiveId]]) -> WidgetSet

§

fn widget_flood(&self, cx: &Cx, path: &[LiveId]) -> WidgetRef

Flood-fill search: find a widget by path, searching children first, then expanding outward through parents and their subtrees.
§

fn widgets_flood(&self, cx: &Cx, paths: &[&[LiveId]]) -> WidgetSet

Flood-fill search returning all matches, ordered by proximity.
§

fn draw_3d( &mut self, _cx: &mut Cx3d<'_, '_>, _scope: &mut Scope<'_, '_>, ) -> Result<(), WidgetRef>

§

fn draw_3d_all(&mut self, cx: &mut Cx3d<'_, '_>, scope: &mut Scope<'_, '_>)

§

fn draw( &mut self, cx: &mut Cx2d<'_, '_>, scope: &mut Scope<'_, '_>, ) -> Result<(), WidgetRef>

§

fn draw_walk_all( &mut self, cx: &mut Cx2d<'_, '_>, scope: &mut Scope<'_, '_>, walk: Walk, )

§

fn draw_all(&mut self, cx: &mut Cx2d<'_, '_>, scope: &mut Scope<'_, '_>)

§

fn draw_unscoped(&mut self, cx: &mut Cx2d<'_, '_>) -> Result<(), WidgetRef>

§

fn draw_all_unscoped(&mut self, cx: &mut Cx2d<'_, '_>)

§

fn text(&self) -> String

§

fn set_text(&mut self, _cx: &mut Cx, _v: &str)

§

fn set_key_focus(&self, cx: &mut Cx)

§

fn key_focus(&self, cx: &Cx) -> bool

§

fn set_disabled(&mut self, _cx: &mut Cx, _disabled: bool)

§

fn disabled(&self, _cx: &Cx) -> bool

§

fn ref_cast_type_id(&self) -> TypeId
where Self: 'static,

§

fn ui_runner(&self) -> UiRunner<Self>
where Self: Sized + 'static,

Source§

impl WidgetNode for SttInput

Source§

fn widget_uid(&self) -> WidgetUid

Source§

fn visible(&self) -> bool

Source§

fn set_visible(&mut self, cx: &mut Cx, visible: bool)

Source§

fn area(&self) -> Area

Source§

fn walk(&mut self, cx: &mut Cx) -> Walk

Source§

fn redraw(&mut self, cx: &mut Cx)

Source§

fn children(&self, visit: &mut dyn FnMut(LiveId, WidgetRef))

Enumerate direct children for widget-tree indexing.
If true, global widget-tree search/flood will not traverse this node’s descendants. The node is still indexed and can still be matched directly by name/path.
Source§

fn find_widgets_from_point( &self, cx: &Cx, point: DVec2, found: &mut dyn FnMut(&WidgetRef), )

Find all widgets whose area contains the given point. Calls the closure for each found widget.
Source§

fn selection_text_len(&self) -> usize

Source§

fn selection_point_to_char_index(&self, cx: &Cx, abs: DVec2) -> Option<usize>

Source§

fn selection_set(&mut self, anchor: usize, cursor: usize)

Source§

fn selection_clear(&mut self)

Source§

fn selection_select_all(&mut self)

Source§

fn selection_get_text_for_range(&self, start: usize, end: usize) -> String

Source§

fn selection_get_full_text(&self) -> String

§

fn child_by_path(&self, path: &[LiveId]) -> WidgetRef

Find a descendant by child-id path, walking through children(). Each segment is matched anywhere in the current subtree, i.e. a.b behaves like *.a.*.b.
§

fn child(&self, id: LiveId) -> WidgetRef

§

fn find_interactive_widget_from_point( &self, cx: &Cx, point: Vec2d, ) -> Option<WidgetRef>

Find the first interactive widget at the given point, or None.
§

fn point_hits_area(&self, cx: &Cx, point: Vec2d) -> bool

Whether this widget’s area contains the given point. Override for widgets with multiple hit areas (e.g. TextFlowLink with drawn_areas).
§

fn set_action_data(&mut self, _data: Arc<dyn ActionTrait>)

§

fn action_data(&self) -> Option<Arc<dyn ActionTrait>>

§

fn cast_inner_any(&self, _type_id: TypeId) -> Option<&(dyn Any + 'static)>

§

fn cast_inner_any_mut( &mut self, _type_id: TypeId, ) -> Option<&mut (dyn Any + 'static)>

§

fn script_call_live( &mut self, _vm: &mut ScriptVm<'_>, _method: LiveId, _args: ScriptValue, ) -> ScriptAsyncResult

§

fn script_result_live( &mut self, _vm: &mut ScriptVm<'_>, _id: ScriptAsyncId, _result: ScriptValue, )

Source§

impl WidgetRegister for SttInput

Source§

fn register_widget(vm: &mut ScriptVm<'_>) -> ScriptValue

Source§

impl ScriptDeriveMarker for SttInput

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> AdaptiveViewWidgetExt for T
where T: Widget,

§

fn adaptive_view(&self, cx: &Cx, path: &[LiveId]) -> AdaptiveViewRef

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> AreaChartSetWidgetExt for T
where T: Widget,

§

fn area_chart_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> AreaChartSet

§

impl<T> AreaChartWidgetExt for T
where T: Widget,

§

fn area_chart(&self, cx: &Cx, path: &[LiveId]) -> AreaChartRef

§

impl<T> BarChartSetWidgetExt for T
where T: Widget,

§

fn bar_chart_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> BarChartSet

§

impl<T> BarChartWidgetExt for T
where T: Widget,

§

fn bar_chart(&self, cx: &Cx, path: &[LiveId]) -> BarChartRef

§

impl<T> BareStepSetWidgetExt for T
where T: Widget,

§

fn bare_step_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> BareStepSet

§

impl<T> BareStepWidgetExt for T
where T: Widget,

§

fn bare_step(&self, cx: &Cx, path: &[LiveId]) -> BareStepRef

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> BrowserSetWidgetExt for T
where T: Widget,

§

fn browser_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> BrowserSet

§

impl<T> BrowserWidgetExt for T
where T: Widget,

§

fn browser(&self, cx: &Cx, path: &[LiveId]) -> BrowserRef

§

impl<T> ButtonSetWidgetExt for T
where T: Widget,

§

fn button_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> ButtonSet

§

impl<T> ButtonWidgetExt for T
where T: Widget,

§

fn button(&self, cx: &Cx, path: &[LiveId]) -> ButtonRef

§

impl<T> CachedWidgetWidgetExt for T
where T: Widget,

§

fn cached_widget(&self, cx: &Cx, path: &[LiveId]) -> CachedWidgetRef

§

impl<T> CalloutTooltipSetWidgetExt for T
where T: Widget,

§

fn callout_tooltip_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> CalloutTooltipSet

§

impl<T> CalloutTooltipWidgetExt for T
where T: Widget,

§

fn callout_tooltip(&self, cx: &Cx, path: &[LiveId]) -> CalloutTooltipRef

§

impl<T> CandlestickChartSetWidgetExt for T
where T: Widget,

§

fn candlestick_chart_set( &self, cx: &Cx, paths: &[&[LiveId]], ) -> CandlestickChartSet

§

impl<T> CandlestickChartWidgetExt for T
where T: Widget,

§

fn candlestick_chart(&self, cx: &Cx, path: &[LiveId]) -> CandlestickChartRef

§

impl<T> ChartViewSetWidgetExt for T
where T: Widget,

§

fn chart_view_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> ChartViewSet

§

impl<T> ChartViewWidgetExt for T
where T: Widget,

§

fn chart_view(&self, cx: &Cx, path: &[LiveId]) -> ChartViewRef

Source§

impl<T> ChatSetWidgetExt for T
where T: Widget,

Source§

fn chat_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> ChatSet

Source§

impl<T> ChatWidgetExt for T
where T: Widget,

Source§

fn chat(&self, cx: &Cx, path: &[LiveId]) -> ChatRef

§

impl<T> CheckBoxSetWidgetExt for T
where T: Widget,

§

fn check_box_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> CheckBoxSet

§

impl<T> CheckBoxWidgetExt for T
where T: Widget,

§

fn check_box(&self, cx: &Cx, path: &[LiveId]) -> CheckBoxRef

Source§

impl<T> CitationListSetWidgetExt for T
where T: Widget,

Source§

fn citation_list_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> CitationListSet

Source§

impl<T> CitationListWidgetExt for T
where T: Widget,

Source§

fn citation_list(&self, cx: &Cx, path: &[LiveId]) -> CitationListRef

§

impl<T> CodeViewSetWidgetExt for T
where T: Widget,

§

fn code_view_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> CodeViewSet

§

impl<T> CodeViewWidgetExt for T
where T: Widget,

§

fn code_view(&self, cx: &Cx, path: &[LiveId]) -> CodeViewRef

§

impl<T> CommandTextInputSetWidgetExt for T
where T: Widget,

§

fn command_text_input_set( &self, cx: &Cx, paths: &[&[LiveId]], ) -> CommandTextInputSet

§

impl<T> CommandTextInputWidgetExt for T
where T: Widget,

§

fn command_text_input(&self, cx: &Cx, path: &[LiveId]) -> CommandTextInputRef

§

impl<T> DesktopButtonSetWidgetExt for T
where T: Widget,

§

fn desktop_button_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> DesktopButtonSet

§

impl<T> DesktopButtonWidgetExt for T
where T: Widget,

§

fn desktop_button(&self, cx: &Cx, path: &[LiveId]) -> DesktopButtonRef

§

impl<T> DockSetWidgetExt for T
where T: Widget,

§

fn dock_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> DockSet

§

impl<T> DockWidgetExt for T
where T: Widget,

§

fn dock(&self, cx: &Cx, path: &[LiveId]) -> DockRef

§

impl<T> Downcast for T
where T: 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>

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)

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)

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> DropDownSetWidgetExt for T
where T: Widget,

§

fn drop_down_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> DropDownSet

§

impl<T> DropDownWidgetExt for T
where T: Widget,

§

fn drop_down(&self, cx: &Cx, path: &[LiveId]) -> DropDownRef

§

impl<T> ExpandablePanelSetWidgetExt for T
where T: Widget,

§

fn expandable_panel_set( &self, cx: &Cx, paths: &[&[LiveId]], ) -> ExpandablePanelSet

§

impl<T> ExpandablePanelWidgetExt for T
where T: Widget,

§

fn expandable_panel(&self, cx: &Cx, path: &[LiveId]) -> ExpandablePanelRef

§

impl<T> FileTreeSetWidgetExt for T
where T: Widget,

§

fn file_tree_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> FileTreeSet

§

impl<T> FileTreeWidgetExt for T
where T: Widget,

§

fn file_tree(&self, cx: &Cx, path: &[LiveId]) -> FileTreeRef

§

impl<T> FlatListSetWidgetExt for T
where T: Widget,

§

fn flat_list_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> FlatListSet

§

impl<T> FlatListWidgetExt for T
where T: Widget,

§

fn flat_list(&self, cx: &Cx, path: &[LiveId]) -> FlatListRef

§

impl<T> FoldButtonSetWidgetExt for T
where T: Widget,

§

fn fold_button_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> FoldButtonSet

§

impl<T> FoldButtonWidgetExt for T
where T: Widget,

§

fn fold_button(&self, cx: &Cx, path: &[LiveId]) -> FoldButtonRef

§

impl<T> FoldHeaderSetWidgetExt for T
where T: Widget,

§

fn fold_header_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> FoldHeaderSet

§

impl<T> FoldHeaderWidgetExt for T
where T: Widget,

§

fn fold_header(&self, cx: &Cx, path: &[LiveId]) -> FoldHeaderRef

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> HtmlLinkSetWidgetExt for T
where T: Widget,

§

impl<T> HtmlLinkWidgetExt for T
where T: Widget,

§

impl<T> HtmlSetWidgetExt for T
where T: Widget,

§

fn html_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> HtmlSet

§

impl<T> HtmlWidgetExt for T
where T: Widget,

§

fn html(&self, cx: &Cx, path: &[LiveId]) -> HtmlRef

§

impl<T> IconSetWidgetExt for T
where T: Widget,

§

fn icon_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> IconSet

§

impl<T> IconWidgetExt for T
where T: Widget,

§

fn icon(&self, cx: &Cx, path: &[LiveId]) -> IconRef

§

impl<T> ImageBlendSetWidgetExt for T
where T: Widget,

§

fn image_blend_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> ImageBlendSet

§

impl<T> ImageBlendWidgetExt for T
where T: Widget,

§

fn image_blend(&self, cx: &Cx, path: &[LiveId]) -> ImageBlendRef

§

impl<T> ImageSetWidgetExt for T
where T: Widget,

§

fn image_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> ImageSet

§

impl<T> ImageWidgetExt for T
where T: Widget,

§

fn image(&self, cx: &Cx, path: &[LiveId]) -> ImageRef

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> KeyboardViewSetWidgetExt for T
where T: Widget,

§

fn keyboard_view_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> KeyboardViewSet

§

impl<T> KeyboardViewWidgetExt for T
where T: Widget,

§

fn keyboard_view(&self, cx: &Cx, path: &[LiveId]) -> KeyboardViewRef

§

impl<T> LabelSetWidgetExt for T
where T: Widget,

§

fn label_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> LabelSet

§

impl<T> LabelWidgetExt for T
where T: Widget,

§

fn label(&self, cx: &Cx, path: &[LiveId]) -> LabelRef

§

impl<T> LineChartSetWidgetExt for T
where T: Widget,

§

fn line_chart_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> LineChartSet

§

impl<T> LineChartWidgetExt for T
where T: Widget,

§

fn line_chart(&self, cx: &Cx, path: &[LiveId]) -> LineChartRef

§

impl<T> LinkLabelSetWidgetExt for T
where T: Widget,

§

impl<T> LinkLabelWidgetExt for T
where T: Widget,

§

impl<T> ListSetWidgetExt for T
where T: Widget,

§

fn list_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> ListSet

§

impl<T> ListWidgetExt for T
where T: Widget,

§

fn list(&self, cx: &Cx, path: &[LiveId]) -> ListRef

§

impl<T> MarkdownLinkSetWidgetExt for T
where T: Widget,

§

impl<T> MarkdownLinkWidgetExt for T
where T: Widget,

§

impl<T> MarkdownSetWidgetExt for T
where T: Widget,

§

fn markdown_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> MarkdownSet

§

impl<T> MarkdownWidgetExt for T
where T: Widget,

§

fn markdown(&self, cx: &Cx, path: &[LiveId]) -> MarkdownRef

§

impl<T> MathViewSetWidgetExt for T
where T: Widget,

§

fn math_view_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> MathViewSet

§

impl<T> MathViewWidgetExt for T
where T: Widget,

§

fn math_view(&self, cx: &Cx, path: &[LiveId]) -> MathViewRef

Source§

impl<T> MessagesSetWidgetExt for T
where T: Widget,

Source§

fn messages_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> MessagesSet

Source§

impl<T> MessagesWidgetExt for T
where T: Widget,

Source§

fn messages(&self, cx: &Cx, path: &[LiveId]) -> MessagesRef

§

impl<T> ModalSetWidgetExt for T
where T: Widget,

§

fn modal_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> ModalSet

§

impl<T> ModalWidgetExt for T
where T: Widget,

§

fn modal(&self, cx: &Cx, path: &[LiveId]) -> ModalRef

Source§

impl<T> ModelSelectorListSetWidgetExt for T
where T: Widget,

Source§

fn model_selector_list_set( &self, cx: &Cx, paths: &[&[LiveId]], ) -> ModelSelectorListSet

Source§

impl<T> ModelSelectorListWidgetExt for T
where T: Widget,

Source§

fn model_selector_list(&self, cx: &Cx, path: &[LiveId]) -> ModelSelectorListRef

Source§

impl<T> ModelSelectorSetWidgetExt for T
where T: Widget,

Source§

fn model_selector_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> ModelSelectorSet

Source§

impl<T> ModelSelectorWidgetExt for T
where T: Widget,

Source§

fn model_selector(&self, cx: &Cx, path: &[LiveId]) -> ModelSelectorRef

Source§

impl<T> MolyModalSetWidgetExt for T
where T: Widget,

Source§

fn moly_modal_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> MolyModalSet

Source§

impl<T> MolyModalWidgetExt for T
where T: Widget,

Source§

fn moly_modal(&self, cx: &Cx, path: &[LiveId]) -> MolyModalRef

§

impl<T> OhlcChartSetWidgetExt for T
where T: Widget,

§

fn ohlc_chart_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> OhlcChartSet

§

impl<T> OhlcChartWidgetExt for T
where T: Widget,

§

fn ohlc_chart(&self, cx: &Cx, path: &[LiveId]) -> OhlcChartRef

§

impl<T> PageFlipSetWidgetExt for T
where T: Widget,

§

fn page_flip_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> PageFlipSet

§

impl<T> PageFlipWidgetExt for T
where T: Widget,

§

fn page_flip(&self, cx: &Cx, path: &[LiveId]) -> PageFlipRef

§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
§

impl<T> PopupNotificationSetWidgetExt for T
where T: Widget,

§

fn popup_notification_set( &self, cx: &Cx, paths: &[&[LiveId]], ) -> PopupNotificationSet

§

impl<T> PopupNotificationWidgetExt for T
where T: Widget,

§

fn popup_notification(&self, cx: &Cx, path: &[LiveId]) -> PopupNotificationRef

§

impl<T> PortalListSetWidgetExt for T
where T: Widget,

§

fn portal_list_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> PortalListSet

§

impl<T> PortalListWidgetExt for T
where T: Widget,

§

fn portal_list(&self, cx: &Cx, path: &[LiveId]) -> PortalListRef

Source§

impl<T> PromptInputSetWidgetExt for T
where T: Widget,

Source§

fn prompt_input_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> PromptInputSet

Source§

impl<T> PromptInputWidgetExt for T
where T: Widget,

Source§

fn prompt_input(&self, cx: &Cx, path: &[LiveId]) -> PromptInputRef

§

impl<T> RadioButtonSetWidgetExt for T
where T: Widget,

§

fn radio_button_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> RadioButtonSet

§

impl<T> RadioButtonWidgetExt for T
where T: Widget,

§

fn radio_button(&self, cx: &Cx, path: &[LiveId]) -> RadioButtonRef

Source§

impl<T> RealtimeSetWidgetExt for T
where T: Widget,

Source§

fn realtime_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> RealtimeSet

Source§

impl<T> RealtimeWidgetExt for T
where T: Widget,

Source§

fn realtime(&self, cx: &Cx, path: &[LiveId]) -> RealtimeRef

Source§

impl<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
§

impl<T> RootWidgetExt for T
where T: Widget,

§

fn root(&self, cx: &Cx, path: &[LiveId]) -> RootRef

§

impl<T> RubberViewSetWidgetExt for T
where T: Widget,

§

fn rubber_view_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> RubberViewSet

§

impl<T> RubberViewWidgetExt for T
where T: Widget,

§

fn rubber_view(&self, cx: &Cx, path: &[LiveId]) -> RubberViewRef

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
§

impl<T> ScatterChartSetWidgetExt for T
where T: Widget,

§

fn scatter_chart_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> ScatterChartSet

§

impl<T> ScatterChartWidgetExt for T
where T: Widget,

§

fn scatter_chart(&self, cx: &Cx, path: &[LiveId]) -> ScatterChartRef

§

impl<T> SlidePanelSetWidgetExt for T
where T: Widget,

§

fn slide_panel_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> SlidePanelSet

§

impl<T> SlidePanelWidgetExt for T
where T: Widget,

§

fn slide_panel(&self, cx: &Cx, path: &[LiveId]) -> SlidePanelRef

§

impl<T> SliderSetWidgetExt for T
where T: Widget,

§

fn slider_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> SliderSet

§

impl<T> SliderWidgetExt for T
where T: Widget,

§

fn slider(&self, cx: &Cx, path: &[LiveId]) -> SliderRef

§

impl<T> SlidesViewSetWidgetExt for T
where T: Widget,

§

fn slides_view_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> SlidesViewSet

§

impl<T> SlidesViewWidgetExt for T
where T: Widget,

§

fn slides_view(&self, cx: &Cx, path: &[LiveId]) -> SlidesViewRef

§

impl<T> SplashSetWidgetExt for T
where T: Widget,

§

fn splash_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> SplashSet

§

impl<T> SplashWidgetExt for T
where T: Widget,

§

fn splash(&self, cx: &Cx, path: &[LiveId]) -> SplashRef

§

impl<T> SplitterSetWidgetExt for T
where T: Widget,

§

fn splitter_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> SplitterSet

§

impl<T> SplitterWidgetExt for T
where T: Widget,

§

fn splitter(&self, cx: &Cx, path: &[LiveId]) -> SplitterRef

§

impl<T> StackNavigationSetWidgetExt for T
where T: Widget,

§

fn stack_navigation_set( &self, cx: &Cx, paths: &[&[LiveId]], ) -> StackNavigationSet

§

impl<T> StackNavigationViewSetWidgetExt for T
where T: Widget,

§

fn stack_navigation_view_set( &self, cx: &Cx, paths: &[&[LiveId]], ) -> StackNavigationViewSet

§

impl<T> StackNavigationViewWidgetExt for T
where T: Widget,

§

fn stack_navigation_view( &self, cx: &Cx, path: &[LiveId], ) -> StackNavigationViewRef

§

impl<T> StackNavigationWidgetExt for T
where T: Widget,

§

fn stack_navigation(&self, cx: &Cx, path: &[LiveId]) -> StackNavigationRef

Source§

impl<T> SttInputSetWidgetExt for T
where T: Widget,

Source§

fn stt_input_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> SttInputSet

Source§

impl<T> SttInputWidgetExt for T
where T: Widget,

Source§

fn stt_input(&self, cx: &Cx, path: &[LiveId]) -> SttInputRef

§

impl<T> SvgSetWidgetExt for T
where T: Widget,

§

fn svg_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> SvgSet

§

impl<T> SvgWidgetExt for T
where T: Widget,

§

fn svg(&self, cx: &Cx, path: &[LiveId]) -> SvgRef

§

impl<T> TabBarSetWidgetExt for T
where T: Widget,

§

fn tab_bar_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> TabBarSet

§

impl<T> TabBarWidgetExt for T
where T: Widget,

§

fn tab_bar(&self, cx: &Cx, path: &[LiveId]) -> TabBarRef

§

impl<T> TextFlowLinkSetWidgetExt for T
where T: Widget,

§

impl<T> TextFlowLinkWidgetExt for T
where T: Widget,

§

impl<T> TextFlowSetWidgetExt for T
where T: Widget,

§

fn text_flow_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> TextFlowSet

§

impl<T> TextFlowWidgetExt for T
where T: Widget,

§

fn text_flow(&self, cx: &Cx, path: &[LiveId]) -> TextFlowRef

§

impl<T> TextInputSetWidgetExt for T
where T: Widget,

§

fn text_input_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> TextInputSet

§

impl<T> TextInputWidgetExt for T
where T: Widget,

§

fn text_input(&self, cx: &Cx, path: &[LiveId]) -> TextInputRef

§

impl<T> TooltipSetWidgetExt for T
where T: Widget,

§

fn tooltip_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> TooltipSet

§

impl<T> TooltipWidgetExt for T
where T: Widget,

§

fn tooltip(&self, cx: &Cx, path: &[LiveId]) -> TooltipRef

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> TurtleStepSetWidgetExt for T
where T: Widget,

§

fn turtle_step_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> TurtleStepSet

§

impl<T> TurtleStepWidgetExt for T
where T: Widget,

§

fn turtle_step(&self, cx: &Cx, path: &[LiveId]) -> TurtleStepRef

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> VectorSetWidgetExt for T
where T: Widget,

§

fn vector_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> VectorSet

§

impl<T> VectorWidgetExt for T
where T: Widget,

§

fn vector(&self, cx: &Cx, path: &[LiveId]) -> VectorRef

§

impl<T> VideoSetWidgetExt for T
where T: Widget,

§

fn video_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> VideoSet

§

impl<T> VideoWidgetExt for T
where T: Widget,

§

fn video(&self, cx: &Cx, path: &[LiveId]) -> VideoRef

§

impl<T> ViewSetWidgetExt for T
where T: Widget,

§

fn view_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> ViewSet

§

impl<T> ViewWidgetExt for T
where T: Widget,

§

fn view(&self, cx: &Cx, path: &[LiveId]) -> ViewRef

§

impl<T> WindowMenuSetWidgetExt for T
where T: Widget,

§

fn window_menu_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> WindowMenuSet

§

impl<T> WindowMenuWidgetExt for T
where T: Widget,

§

fn window_menu(&self, cx: &Cx, path: &[LiveId]) -> WindowMenuRef

§

impl<T> WindowSetWidgetExt for T
where T: Widget,

§

fn window_set(&self, cx: &Cx, paths: &[&[LiveId]]) -> WindowSet

§

impl<T> WindowWidgetExt for T
where T: Widget,

§

fn window(&self, cx: &Cx, path: &[LiveId]) -> WindowRef

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more