Skip to main content

English

Struct English 

Source
pub struct English;
Expand description

The English table: every method left as the trait wrote it.

It is what of answers when nothing has been installed, and the sensible thing for another table to be written against — implement Localizations and override the entries that differ.

Trait Implementations§

Source§

impl Clone for English

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 Copy for English

Source§

impl Debug for English

Source§

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

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

impl Default for English

Source§

fn default() -> Self

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

impl Eq for English

Source§

impl Localizations for English

Source§

fn back_button_label(&self) -> &str

What a reader hears on a back arrow (backButtonTooltip).
Source§

fn close_button_label(&self) -> &str

And on the cross that dismisses something (closeButtonTooltip).
Source§

fn open_drawer_label(&self) -> &str

What a reader hears on the control that opens a side panel (openAppDrawerTooltip). Read more
Source§

fn tab_label(&self, index: usize, count: usize) -> String

Where one destination sits among the rest (tabLabel), for a reader who is hearing them one at a time and cannot see how many there are. Read more
Source§

fn signed_in_label(&self) -> &str

What a reader hears on an account header (signedInLabel): the name, the address and the control for switching arrive as one thing with one name, rather than as three unrelated nodes at the top of a panel.
Source§

fn show_accounts_label(&self) -> &str

And on the control that reveals the other accounts (showAccountsLabel).
Source§

fn hide_accounts_label(&self) -> &str

And on the same control once they are showing (hideAccountsLabel). Read more
Source§

fn clear_button_label(&self) -> &str

What a reader hears on the cross that empties a field (clearButtonTooltip). Read more
Source§

fn ok_button_label(&self) -> &str

The word on a confirming button (okButtonLabel).
Source§

fn cancel_button_label(&self) -> &str

And on the one that backs out (cancelButtonLabel).
Source§

fn search_field_label(&self) -> &str

The placeholder in a table’s search field (searchFieldLabel).
Source§

fn no_results_label(&self) -> &str

What a table says when it has nothing to show. A caller may say its own; this is what one that says nothing gets, and it used to be a constant.
Source§

fn decrease_label(&self) -> &str

What a reader hears on the control that steps a number down, and on the one that steps it up. Read more
Source§

fn increase_label(&self) -> &str

Source§

fn row_selected_label(&self) -> &str

What a table announces when a row is ticked, and the three sentences beside it (selectedRowCountTitle). Read more
Source§

fn row_deselected_label(&self) -> &str

Source§

fn all_rows_selected_label(&self) -> &str

Source§

fn all_rows_deselected_label(&self) -> &str

Source§

fn hour_label(&self) -> &str

The heading over a time picker’s hours, and the one over its minutes (timePickerHourLabel, timePickerMinuteLabel).
Source§

fn minute_label(&self) -> &str

Source§

fn ante_meridiem_label(&self) -> &str

The two halves of a twelve-hour clock (anteMeridiemAbbreviation, postMeridiemAbbreviation). Read more
Source§

fn post_meridiem_label(&self) -> &str

Source§

fn start_label(&self) -> &str

The two ends of a range: the heading over the first picker of a pair, and over the second.
Source§

fn end_label(&self) -> &str

Source§

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

The line under a paginated table: which rows are showing, out of how many. Read more
Source§

fn rows_per_page_label(&self) -> &str

The label beside a table’s page-size chooser.
Source§

fn selected_row_count_label(&self, count: usize) -> String

What a table’s bulk-action bar says about how much is selected. Read more
Source§

fn group_digits(&self, number: usize) -> String

A number with its thousands grouped, as the reader’s language groups them: a comma in English, a space in French, and a stop in a good many other places. Read more
Source§

fn previous_month_label(&self) -> &str

What a reader hears on the arrows either side of a calendar’s month.
Source§

fn next_month_label(&self) -> &str

Source§

fn narrow_weekdays(&self) -> [&str; 7]

The single letters over a calendar’s columns (narrowWeekdays). Read more
Source§

fn first_day_of_week_index(&self) -> usize

Which day a week starts on, as an index into narrow_weekdays — so 0 is Sunday and 1 is Monday (material_localizations.dart). Read more
Source§

fn months(&self) -> [&str; 12]

The months, January first.
Source§

impl PartialEq for English

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for English

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<Msg> IntoMsg<Msg> for Msg

Source§

fn defer(work: impl Fn() -> Msg + 'static) -> Msg

The message that stands for work’s result.
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.