Skip to main content

ShowcaseState

Struct ShowcaseState 

Source
pub struct ShowcaseState { /* private fields */ }
Expand description

Reactive application state powering every interactive page of the cross-platform showcase.

Implementations§

Source§

impl ShowcaseState

Construction and helper methods for ShowcaseState.

Source

pub fn new() -> Self

Initializes a new reactive ShowcaseState with default values, derived computed! memos, and game host.

§Returns
  • Self - Initialized reactive showcase state.
Source

pub fn populate_wasm_registry(registry: &RegistryWasmFetcher)

Registers genuine executable partial, global, and fault-case .wasm binaries into registry.

§Arguments
  • &RegistryWasmFetcher - Target CDN registry fetcher.
Source

pub fn breadcrumb_for_route(route: &str) -> String

Formats a clean Linear/Vercel-style top bar breadcrumb for route.

§Arguments
  • &str - Active route path.
§Returns
  • String - Formatted breadcrumb path ("euv Studio / Category / Page").
Source

pub fn attach_dynamic_hub(&mut self, hub: DynamicUpdateHub)

Binds hub from the active App and wires interactive dynamic actions and WASM manager callbacks.

§Arguments
  • &Self - Mutable showcase state.
  • DynamicUpdateHub - Shared dynamic update hub owned by App.
Source

pub fn build_ai_hooks(&self) -> AiAppHooks

Builds AiAppHooks bridging route, theme, and 3D/2D game engine telemetry and controls to AI Schema v1.

§Arguments
  • &Self - Reactive showcase state reference.
§Returns
  • AiAppHooks - Configured AI automation hooks bound to this state.
Source

pub fn nav_items() -> Vec<EuvNavItem>

Returns the categorized sidebar navigation items grouped in Linear/Vercel/shadcn hierarchy.

§Returns
  • Vec<EuvNavItem> - Categorized list of showcase routes.
Source

pub fn selected_render_mode(&self) -> RenderMode

Resolves the currently selected RenderMode from render_mode_index.

§Arguments
  • &Self - State reference.
§Returns
  • RenderMode - Active render pipeline mode.
Source

pub fn next_scheme(&self)

Cycles to the next DesignScheme in DesignScheme::all().

§Arguments
  • &Self - State reference.
Source

pub fn toggle_theme_mode(&self)

Toggles between light and dark theme modes.

§Arguments
  • &Self - State reference.
Source§

impl ShowcaseState

Source

pub fn get_route(&self) -> Signal<String>

Source

pub fn get_counter(&self) -> Signal<i32>

Source

pub fn get_doubled(&self) -> Memo<i32>

Source

pub fn get_render_mode_index(&self) -> Signal<usize>

Source

pub fn get_theme(&self) -> &UiThemeState

Source

pub fn get_username(&self) -> Signal<String>

Source

pub fn get_bio(&self) -> Signal<String>

Source

pub fn get_stepper_value(&self) -> Signal<i64>

Source

pub fn get_radio_index(&self) -> Signal<usize>

Source

pub fn get_slider_value(&self) -> Signal<f32>

Source

pub fn get_select_index(&self) -> Signal<usize>

Source

pub fn get_select_open(&self) -> Signal<bool>

Source

pub fn get_rating_value(&self) -> Signal<usize>

Source

pub fn get_pin_toggled(&self) -> Signal<bool>

Source

pub fn get_hardware_accel(&self) -> Signal<bool>

Source

pub fn get_agree_terms(&self) -> Signal<bool>

Source

pub fn get_modal_open(&self) -> Signal<bool>

Source

pub fn get_drawer_open(&self) -> Signal<bool>

Source

pub fn get_sheet_open(&self) -> Signal<bool>

Source

pub fn get_popover_open(&self) -> Signal<bool>

Source

pub fn get_dropdown_open(&self) -> Signal<bool>

Source

pub fn get_dropdown_selected(&self) -> Signal<Option<usize>>

Source

pub fn get_toast_visible(&self) -> Signal<bool>

Source

pub fn get_notif_visible(&self) -> Signal<bool>

Source

pub fn get_loading_active(&self) -> Signal<bool>

Source

pub fn get_active_tab(&self) -> Signal<usize>

Source

pub fn get_page_index(&self) -> Signal<usize>

Source

pub fn get_step_index(&self) -> Signal<usize>

Source

pub fn get_accordion_open(&self) -> Signal<Option<usize>>

Source

pub fn get_fullscreen(&self) -> Signal<bool>

Source

pub fn get_list_scroll_y(&self) -> Signal<f32>

Source

pub fn get_island_active(&self) -> Signal<bool>

Source

pub fn get_island_progress(&self) -> Signal<u8>

Source

pub fn get_camera_perm_status(&self) -> Signal<String>

Source

pub fn get_protocol_status(&self) -> Signal<String>

Source

pub fn get_a11y_announcements(&self) -> Signal<u32>

Source

pub fn get_haptic_pulses(&self) -> Signal<u32>

Source

pub fn get_game_host(&self) -> &GameEngineHost

Source

pub fn get_game3d_host(&self) -> &GameEngineHost

Source

pub fn get_engine3d_quality(&self) -> Signal<RenderQualityConfig>

Source

pub fn get_engine3d_preset_idx(&self) -> Signal<usize>

Source

pub fn get_engine3d_rt_idx(&self) -> Signal<usize>

Source

pub fn get_engine3d_res_scale(&self) -> Signal<f32>

Source

pub fn get_engine3d_time_of_day(&self) -> Signal<f32>

Source

pub fn get_engine3d_import_queue(&self) -> Signal<u64>

Source

pub fn get_engine3d_import_status(&self) -> Signal<String>

Source

pub fn get_engine3d_camera_mode(&self) -> Signal<u8>

Source

pub fn get_dynamic_hub(&self) -> &DynamicUpdateHub

Source

pub fn get_sibling_counter(&self) -> Signal<i32>

Source

pub fn get_dynamic_action_log(&self) -> Signal<String>

Source

pub fn get_alert_dialog_open(&self) -> Signal<bool>

Source

pub fn get_alert_dialog_confirmed(&self) -> Signal<bool>

Source

pub fn get_collapsible_open(&self) -> Signal<bool>

Source

pub fn get_toggle_group_index(&self) -> Signal<usize>

Source

pub fn get_otp_code(&self) -> Signal<String>

Source

pub fn get_command_query(&self) -> Signal<String>

Source

pub fn get_command_selected(&self) -> Signal<Option<usize>>

Source

pub fn get_hover_card_open(&self) -> Signal<bool>

Source

pub fn get_calendar_day(&self) -> Signal<u32>

Source

pub fn get_menubar_active(&self) -> Signal<Option<usize>>

Source

pub fn get_media_gif(&self) -> Signal<GifAnimation>

Source

pub fn get_media_live(&self) -> Signal<LivePhotoAsset>

Source

pub fn get_media_video(&self) -> Signal<VideoTrack>

Source

pub fn get_media_audio(&self) -> Signal<AudioTrack>

Source

pub fn get_media_pdf(&self) -> Signal<PdfDocument>

Source

pub fn get_os_target_platform_idx(&self) -> Signal<usize>

Source

pub fn get_island_mode_idx(&self) -> Signal<usize>

Source

pub fn get_system_notifications(&self) -> Signal<Vec<(String, String)>>

Source

pub fn get_permission_statuses(&self) -> Signal<Vec<PermissionStatus>>

Source

pub fn get_lab_combobox_query(&self) -> Signal<String>

Source

pub fn get_lab_combobox_selected(&self) -> Signal<usize>

Source

pub fn get_lab_combobox_open(&self) -> Signal<bool>

Source

pub fn get_lab_table_filter(&self) -> Signal<String>

Source

pub fn get_lab_table_sort_asc(&self) -> Signal<bool>

Source

pub fn get_lab_table_selected(&self) -> Signal<Option<usize>>

Source

pub fn get_lab_date_day(&self) -> Signal<u32>

Source

pub fn get_lab_date_open(&self) -> Signal<bool>

Source

pub fn get_lab_input_group_val(&self) -> Signal<String>

Source

pub fn get_lab_native_select_idx(&self) -> Signal<usize>

Source

pub fn get_lab_nav_menu_active(&self) -> Signal<Option<usize>>

Source

pub fn get_lab_split_ratio(&self) -> Signal<f32>

Source

pub fn get_lab_block_scroll_chain(&self) -> Signal<bool>

Source

pub fn get_lab_stop_click_bubble(&self) -> Signal<bool>

Source

pub fn get_lab_parent_clicks(&self) -> Signal<u32>

Source

pub fn get_lab_child_clicks(&self) -> Signal<u32>

Source

pub fn get_lab_resize_preserve_count(&self) -> Signal<u32>

Source

pub fn get_lab_rtl_mode(&self) -> Signal<bool>

Source

pub fn get_wasm_registry(&self) -> &RegistryWasmFetcher

Source

pub fn get_wasm_manager(&self) -> &WasmDynamicManager

Source

pub fn get_wasm_offline(&self) -> Signal<bool>

Source

pub fn get_wasm_fault_status(&self) -> Signal<String>

Source

pub fn get_cmd_palette_open(&self) -> Signal<bool>

Source

pub fn get_cmd_palette_query(&self) -> Signal<String>

Source

pub fn get_picker_color(&self) -> Signal<Color>

Source

pub fn get_picker_time(&self) -> Signal<(u8, u8)>

Source

pub fn get_tag_items(&self) -> Signal<Vec<String>>

Source

pub fn get_tree_selected(&self) -> Signal<Option<String>>

Source

pub fn get_breadcrumb_active(&self) -> Signal<usize>

Source

pub fn get_stress_results(&self) -> Signal<Vec<StressCaseResult>>

Source

pub fn get_stress_summary(&self) -> Signal<String>

Source

pub fn get_router(&self) -> &EuvRouter

Source

pub fn get_router_ready(&self) -> &Rc<Cell<bool>>

Source

pub fn get_lifecycle_mounts(&self) -> Signal<u32>

Source

pub fn get_lifecycle_freezes(&self) -> Signal<u32>

Source

pub fn get_lifecycle_resumes(&self) -> Signal<u32>

Source

pub fn get_lifecycle_destroys(&self) -> Signal<u32>

Source

pub fn get_lifecycle_last_event(&self) -> Signal<String>

Source

pub fn get_markdown_copy_log(&self) -> Signal<String>

Source

pub fn get_markdown_tasks_toggled(&self) -> Signal<u32>

Source

pub fn get_markdown_lang_tab(&self) -> Signal<usize>

Trait Implementations§

Source§

impl Clone for ShowcaseState

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for ShowcaseState

Default ShowcaseState delegating to ShowcaseState::new.

Source§

fn default() -> Self

Creates a default ShowcaseState.

§Returns
  • Self - Initialized state.

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
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
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

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.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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.