Skip to main content

DefaultMaterialLocalizations

Struct DefaultMaterialLocalizations 

Source
pub struct DefaultMaterialLocalizations;
Expand description

US English strings for the material widgets.

See also:

  • GlobalMaterialLocalizations, which provides material localizations for many languages.
  • MaterialApp.localizationsDelegates, which automatically includes DefaultMaterialLocalizations::delegate by default.

Implementations§

Source§

impl DefaultMaterialLocalizations

Source

pub const fn new() -> DefaultMaterialLocalizations

Constructs an object that defines the material widgets’ localized strings for US English (only).

LocalizationsDelegate implementations typically call the static load function, rather than constructing this class directly.

Source

pub fn load(_locale: &Locale) -> CompleterFuture<Rc<dyn MaterialLocalizations>> ⓘ

Creates an object that provides US English resource values for the material library widgets.

The locale parameter is ignored.

This method is typically used to create a LocalizationsDelegate. The MaterialApp does so by default.

Source

pub fn delegate() -> LocalizationsDelegateRef

A LocalizationsDelegate that uses DefaultMaterialLocalizations::load to create an instance of this class.

MaterialApp automatically adds this value to MaterialApp.localizationsDelegates.

Trait Implementations§

Source§

impl Debug for DefaultMaterialLocalizations

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for DefaultMaterialLocalizations

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl MaterialLocalizations for DefaultMaterialLocalizations

Source§

fn format_hour( &self, time_of_day: &TimeOfDay, always_use_24_hour_format: bool, ) -> String

Formats hour in the given time of day according to the value of time_of_day_format. Read more
Source§

fn format_minute(&self, time_of_day: &TimeOfDay) -> String

Formats minute in the given time of day according to the value of time_of_day_format.
Source§

fn format_year(&self, app: &App, date: &DateTime) -> String

Full unabbreviated year format, e.g. 2017 rather than 17.
Source§

fn format_compact_date(&self, app: &App, date: &DateTime) -> String

Formats the date in a compact format. Read more
Source§

fn format_short_date(&self, app: &App, date: &DateTime) -> String

Formats the date using a short-width format. Read more
Source§

fn format_medium_date(&self, app: &App, date: &DateTime) -> String

Formats the date using a medium-width format. Read more
Source§

fn format_full_date(&self, app: &App, date: &DateTime) -> String

Formats day of week, month, day of month and year in a long-width format. Read more
Source§

fn format_month_year(&self, app: &App, date: &DateTime) -> String

Formats the month and the year of the given date. Read more
Source§

fn format_short_month_day(&self, app: &App, date: &DateTime) -> String

Formats the month and day of the given date. Read more
Source§

fn parse_compact_date( &self, app: &App, input_string: Option<&str>, ) -> Option<DateTime>

Converts the given compact date formatted string into a DateTime. Read more
Source§

fn narrow_weekdays(&self) -> Vec<String>

List of week day names in narrow format, usually 1- or 2-letter abbreviations of full names. Read more
Source§

fn first_day_of_week_index(&self) -> i32

Index of the first day of week, where 0 points to Sunday, and 6 points to Saturday. Read more
Source§

fn date_separator(&self) -> String

The character string used to separate the parts of a compact date format (i.e. mm/dd/yyyy has a separator of ‘/’).
Source§

fn date_help_text(&self) -> String

The help text used on an empty InputDatePickerFormField to indicate to the user the date format being asked for.
Source§

fn select_year_semantics_label(&self) -> String

The semantic label used to announce when the user has entered the year selection mode of the CalendarDatePicker which is used in the data picker dialog created with showDatePicker.
Source§

fn unspecified_date(&self) -> String

The label used to indicate a date that has not been entered or selected yet in the date picker.
Source§

fn unspecified_date_range(&self) -> String

The label used to indicate a date range that has not been entered or selected yet in the date range picker.
Source§

fn date_input_label(&self) -> String

The label used to describe the text field used in an InputDatePickerFormField.
Source§

fn date_range_start_label(&self) -> String

The label used for the starting date input field in the date range picker created with showDateRangePicker.
Source§

fn date_range_end_label(&self) -> String

The label used for the ending date input field in the date range picker created with showDateRangePicker.
Source§

fn date_range_start_date_semantic_label(&self, formatted_date: &str) -> String

The semantics label used for the selected start date in the date range picker’s day grid.
Source§

fn date_range_end_date_semantic_label(&self, formatted_date: &str) -> String

The semantics label used for the selected end date in the date range picker’s day grid.
Source§

fn invalid_date_format_label(&self) -> String

Error message displayed to the user when they have entered a text string in an InputDatePickerFormField that is not in a valid date format.
Source§

fn invalid_date_range_label(&self) -> String

Error message displayed to the user when they have entered an invalid date range in the input mode of the date range picker created with showDateRangePicker.
Source§

fn date_out_of_range_label(&self) -> String

Error message displayed to the user when they have entered a date that is outside the valid range for the date picker. showDateRangePicker.
Source§

fn save_button_label(&self) -> String

Label for a ‘SAVE’ button. Currently used by the full screen mode of the date range picker.
Source§

fn date_picker_help_text(&self) -> String

Label used in the header of the date picker dialog created with showDatePicker.
Source§

fn date_range_picker_help_text(&self) -> String

Label used in the header of the date range picker dialog created with showDateRangePicker.
Source§

fn calendar_mode_button_label(&self) -> String

Tooltip used for the calendar mode button of the date pickers.
Source§

fn input_date_mode_button_label(&self) -> String

Tooltip used for the text input mode button of the date pickers.
Source§

fn time_picker_dial_help_text(&self) -> String

Label used in the header of the time picker dialog created with showTimePicker when in TimePickerEntryMode.dial.
Source§

fn time_picker_input_help_text(&self) -> String

Label used in the header of the time picker dialog created with showTimePicker when in TimePickerEntryMode.input.
Source§

fn time_picker_hour_label(&self) -> String

Label used below the hour text field of the time picker dialog created with showTimePicker when in TimePickerEntryMode.input.
Source§

fn time_picker_minute_label(&self) -> String

Label used below the minute text field of the time picker dialog created with showTimePicker when in TimePickerEntryMode.input.
Source§

fn invalid_time_label(&self) -> String

Error message for the time picker dialog created with showTimePicker when in TimePickerEntryMode.input.
Source§

fn dial_mode_button_label(&self) -> String

Tooltip used to put the time picker into TimePickerEntryMode.dial.
Source§

fn input_time_mode_button_label(&self) -> String

Tooltip used to put the time picker into TimePickerEntryMode.input.
Source§

fn format_decimal(&self, number: i64) -> String

Formats number as a decimal, inserting locale-appropriate thousands separators as necessary.
Source§

fn format_time_of_day( &self, time_of_day: &TimeOfDay, always_use_24_hour_format: bool, ) -> String

Formats time_of_day according to the value of time_of_day_format. Read more
Source§

fn open_app_drawer_tooltip(&self) -> String

The tooltip for the leading AppBar menu (a.k.a. ‘hamburger’) button.
Source§

fn back_button_tooltip(&self) -> String

The BackButton’s tooltip.
Source§

fn clear_button_tooltip(&self) -> String

The tooltip for the clear button to clear text on SearchAnchor’s search view.
Source§

fn close_button_tooltip(&self) -> String

The CloseButton’s tooltip.
Source§

fn delete_button_tooltip(&self) -> String

The tooltip for the delete button on a Chip.
Source§

fn more_button_tooltip(&self) -> String

The tooltip for the more button on an overflowing text selection menu.
Source§

fn next_month_tooltip(&self) -> String

The tooltip for the CalendarDatePicker’s “next month” button.
Source§

fn previous_month_tooltip(&self) -> String

The tooltip for the CalendarDatePicker’s “previous month” button.
Source§

fn next_page_tooltip(&self) -> String

The tooltip for the PaginatedDataTable’s “next page” button.
Source§

fn previous_page_tooltip(&self) -> String

The tooltip for the PaginatedDataTable’s “previous page” button.
Source§

fn first_page_tooltip(&self) -> String

The tooltip for the PaginatedDataTable’s “first page” button.
Source§

fn last_page_tooltip(&self) -> String

The tooltip for the PaginatedDataTable’s “last page” button.
Source§

fn show_menu_tooltip(&self) -> String

The default PopupMenuButton tooltip.
Source§

fn drawer_label(&self) -> String

Label read out by accessibility tools (TalkBack or VoiceOver) when a drawer widget is opened.
Source§

fn menu_bar_menu_label(&self) -> String

Label read out by accessibility tools (TalkBack or VoiceOver) when a MenuBarMenu widget is opened.
Source§

fn popup_menu_label(&self) -> String

Label read out by accessibility tools (TalkBack or VoiceOver) when a popup menu widget is opened.
Source§

fn dialog_label(&self) -> String

Label read out by accessibility tools (TalkBack or VoiceOver) when a dialog widget is opened.
Source§

fn alert_dialog_label(&self) -> String

Label read out by accessibility tools (TalkBack or VoiceOver) when an alert dialog widget is opened.
Source§

fn search_field_label(&self) -> String

Label indicating that a text field is a search field. This will be used as a hint text in the text field.
Source§

fn current_date_label(&self) -> String

Label indicating that a given date is the current date.
Source§

fn selected_date_label(&self) -> String

The semantics label to describe the selected date in the calendar picker invoked using showDatePicker.
Source§

fn scrim_label(&self) -> String

Label for the scrim rendered underneath a BottomSheet.
Source§

fn bottom_sheet_label(&self) -> String

Label for a BottomSheet, used as the modalRouteContentName of the scrim_on_tap_hint.
Source§

fn scrim_on_tap_hint(&self, modal_route_content_name: &str) -> String

Hint text announced when tapping on the scrim underneath the content of a modal route.
Source§

fn about_list_tile_title(&self, application_name: &str) -> String

The default title for AboutListTile.
Source§

fn licenses_page_title(&self) -> String

Title for the LicensePage widget.
Source§

fn licenses_package_detail_text(&self, license_count: i32) -> String

Subtitle for a package in the LicensePage widget.
Source§

fn page_rows_info_title( &self, first_row: i32, last_row: i32, row_count: i32, row_count_is_approximate: bool, ) -> String

Title for the PaginatedDataTable’s row info footer.
Source§

fn rows_per_page_title(&self) -> String

Title for the PaginatedDataTable’s “rows per page” footer.
Source§

fn tab_label(&self, tab_index: i32, tab_count: i32) -> String

The accessibility label used on a tab in a TabBar. Read more
Source§

fn selected_row_count_title(&self, selected_row_count: i32) -> String

Title for the PaginatedDataTable’s selected row count header.
Source§

fn cancel_button_label(&self) -> String

Label for “cancel” buttons and menu items.
Source§

fn close_button_label(&self) -> String

Label for “close” buttons and menu items.
Source§

fn continue_button_label(&self) -> String

Label for “continue” buttons and menu items.
Source§

fn copy_button_label(&self) -> String

Label for “copy” edit buttons and menu items.
Source§

fn cut_button_label(&self) -> String

Label for “cut” edit buttons and menu items.
Source§

fn scan_text_button_label(&self) -> String

Label for “scan text” OCR edit buttons and menu items.
Source§

fn ok_button_label(&self) -> String

Label for OK buttons and menu items.
Source§

fn paste_button_label(&self) -> String

Label for “paste” edit buttons and menu items.
Source§

fn select_all_button_label(&self) -> String

Label for “select all” edit buttons and menu items.
Source§

fn look_up_button_label(&self) -> String

Label for “look up” edit buttons and menu items.
Source§

fn search_web_button_label(&self) -> String

Label for “search web” edit buttons and menu items.
Source§

fn share_button_label(&self) -> String

Label for “share” edit buttons and menu items.
Source§

fn view_licenses_button_label(&self) -> String

Label for the AboutDialog button that shows the LicensePage.
Source§

fn ante_meridiem_abbreviation(&self) -> String

The abbreviation for ante meridiem (before noon) shown in the time picker.
Source§

fn post_meridiem_abbreviation(&self) -> String

The abbreviation for post meridiem (after noon) shown in the time picker.
Source§

fn time_picker_hour_mode_announcement(&self) -> String

The text-to-speech announcement made when a time picker invoked using showTimePicker is set to the hour picker mode.
Source§

fn time_picker_minute_mode_announcement(&self) -> String

The text-to-speech announcement made when a time picker invoked using showTimePicker is set to the minute picker mode.
Source§

fn modal_barrier_dismiss_label(&self) -> String

Label read out by accessibility tools (TalkBack or VoiceOver) for a modal barrier to indicate that a tap dismisses the barrier. Read more
Source§

fn menu_dismiss_label(&self) -> String

Label read out by accessibility tools (TalkBack or VoiceOver) for a context menu to indicate that a tap dismisses the context menu.
Source§

fn script_category(&self) -> ScriptCategory

Defines the localized TextStyle geometry for ThemeData.textTheme. Read more
Source§

fn time_of_day_format(&self, always_use_24_hour_format: bool) -> TimeOfDayFormat

The format used to lay out the time picker. Read more
Source§

fn signed_in_label(&self) -> String

The semantics label used to indicate which account is signed in the UserAccountsDrawerHeader widget.
Source§

fn hide_accounts_label(&self) -> String

The semantics label used for the button on UserAccountsDrawerHeader that hides the list of accounts.
Source§

fn show_accounts_label(&self) -> String

The semantics label used for the button on UserAccountsDrawerHeader that shows the list of accounts.
Source§

fn reorder_item_up(&self) -> String

👎Deprecated:

Use the reorderItemUp from WidgetsLocalizations instead. This feature was deprecated after v3.10.0-2.0.pre.

The semantics label used for ReorderableListView to reorder an item in the list one space up the list.
Source§

fn reorder_item_down(&self) -> String

👎Deprecated:

Use the reorderItemDown from WidgetsLocalizations instead. This feature was deprecated after v3.10.0-2.0.pre.

The semantics label used for ReorderableListView to reorder an item in the list one space down the list.
Source§

fn reorder_item_left(&self) -> String

👎Deprecated:

Use the reorderItemLeft from WidgetsLocalizations instead. This feature was deprecated after v3.10.0-2.0.pre.

The semantics label used for ReorderableListView to reorder an item in the list one space left in the list.
Source§

fn reorder_item_right(&self) -> String

👎Deprecated:

Use the reorderItemRight from WidgetsLocalizations instead. This feature was deprecated after v3.10.0-2.0.pre.

The semantics label used for ReorderableListView to reorder an item in the list one space right in the list.
Source§

fn reorder_item_to_end(&self) -> String

👎Deprecated:

Use the reorderItemToEnd from WidgetsLocalizations instead. This feature was deprecated after v3.10.0-2.0.pre.

The semantics label used for ReorderableListView to reorder an item in the list to the end of the list.
Source§

fn reorder_item_to_start(&self) -> String

👎Deprecated:

Use the reorderItemToStart from WidgetsLocalizations instead. This feature was deprecated after v3.10.0-2.0.pre.

The semantics label used for ReorderableListView to reorder an item in the list to the start of the list.
Source§

fn expanded_icon_tap_hint(&self) -> String

The semantics hint to describe the tap action on an expanded ExpandIcon.
Source§

fn collapsed_icon_tap_hint(&self) -> String

The semantics hint to describe the tap action on a collapsed ExpandIcon.
Source§

fn expansion_tile_expanded_hint(&self) -> String

The semantics hint to describe the tap action on an expanded ExpansionTile on iOS and macOS. This is appended to the collapsed_hint hint to provide a more detailed description of the action, e.g. “Expanded double tap to collapse”.
Source§

fn expansion_tile_collapsed_hint(&self) -> String

The semantics hint to describe the tap action on a collapsed ExpansionTile on iOS and macOS. This is appended to the expanded_hint hint to provide a more detailed description of the action, e.g. “Collapsed double tap to expand”.
Source§

fn expansion_tile_expanded_tap_hint(&self) -> String

The semantics hint to describe the tap action on an expanded ExpansionTile.
Source§

fn expansion_tile_collapsed_tap_hint(&self) -> String

The semantics hint to describe the tap action on a collapsed ExpansionTile.
Source§

fn expanded_hint(&self) -> String

The semantics hint to describe the ExpansionTile expanded state.
Source§

fn collapsed_hint(&self) -> String

The semantics hint to describe the ExpansionTile collapsed state.
Source§

fn refresh_indicator_semantic_label(&self) -> String

The default semantics label for a RefreshIndicator.
Source§

fn remaining_text_field_character_count(&self, remaining: i32) -> String

The label for the TextField’s character counter.
Source§

fn keyboard_key_alt(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.alt.
Source§

fn keyboard_key_alt_graph(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.altGraph.
Source§

fn keyboard_key_backspace(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.backspace.
Source§

fn keyboard_key_caps_lock(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.capsLock.
Source§

fn keyboard_key_channel_down(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.channelDown.
Source§

fn keyboard_key_channel_up(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.channelUp.
Source§

fn keyboard_key_control(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.control.
Source§

fn keyboard_key_delete(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.delete.
Source§

fn keyboard_key_eject(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.eject.
Source§

fn keyboard_key_end(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.end.
Source§

fn keyboard_key_escape(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.escape.
Source§

fn keyboard_key_fn(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.fn.
Source§

fn keyboard_key_home(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.home.
Source§

fn keyboard_key_insert(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.insert.
Source§

fn keyboard_key_meta(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.meta.
Source§

fn keyboard_key_meta_mac_os(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.meta on macOS.
Source§

fn keyboard_key_meta_windows(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.meta on Windows.
Source§

fn keyboard_key_num_lock(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numLock.
Source§

fn keyboard_key_numpad1(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpad1.
Source§

fn keyboard_key_numpad2(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpad2.
Source§

fn keyboard_key_numpad3(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpad3.
Source§

fn keyboard_key_numpad4(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpad4.
Source§

fn keyboard_key_numpad5(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpad5.
Source§

fn keyboard_key_numpad6(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpad6.
Source§

fn keyboard_key_numpad7(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpad7.
Source§

fn keyboard_key_numpad8(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpad8.
Source§

fn keyboard_key_numpad9(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpad9.
Source§

fn keyboard_key_numpad0(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpad0.
Source§

fn keyboard_key_numpad_add(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpadAdd.
Source§

fn keyboard_key_numpad_comma(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpadComma.
Source§

fn keyboard_key_numpad_decimal(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpadDecimal.
Source§

fn keyboard_key_numpad_divide(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpadDivide.
Source§

fn keyboard_key_numpad_enter(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpadEnter.
Source§

fn keyboard_key_numpad_equal(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpadEqual.
Source§

fn keyboard_key_numpad_multiply(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpadMultiply.
Source§

fn keyboard_key_numpad_paren_left(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpadParenLeft.
Source§

fn keyboard_key_numpad_paren_right(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpadParenRight.
Source§

fn keyboard_key_numpad_subtract(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.numpadSubtract.
Source§

fn keyboard_key_page_down(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.pageDown.
Source§

fn keyboard_key_page_up(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.pageUp.
Source§

fn keyboard_key_power(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.power.
Source§

fn keyboard_key_power_off(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.powerOff.
Source§

fn keyboard_key_print_screen(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.printScreen.
Source§

fn keyboard_key_scroll_lock(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.scrollLock.
Source§

fn keyboard_key_select(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.select.
Source§

fn keyboard_key_shift(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.shift.
Source§

fn keyboard_key_space(&self) -> String

The shortcut label for the keyboard key LogicalKeyboardKey.space.

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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> Downcast<T> for T

Source§

fn downcast(&self) -> &T

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> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

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.
Source§

impl<T> Upcast<T> for T

Source§

fn upcast(&self) -> Option<&T>

Source§

impl<T> WasmNotSend for T
where T: Send,

Source§

impl<T> WasmNotSendSync for T

Source§

impl<T> WasmNotSync for T
where T: Sync,