TextInfo
struct · ferroui-base · v0.5.0
struct TextInfo
The text conventions of a culture (C# TextInfo).
Only the conventions of the invariant culture are built in: those of
other cultures come from the provider registered with the locator (see
ICultureDataProvider); a culture without
data gets the conventions of its nearest parent that has data and finally
the invariant ones.
Members
new
fn new() -> TextInfo
The conventions of the invariant culture, to be changed with the setters.
invariant_info
fn invariant_info() -> Rc<TextInfo>
The conventions of the invariant culture.
current_info
fn current_info() -> Rc<TextInfo>
The conventions of the current culture.
list_separator
fn list_separator(self: &Self) -> &str
Gets the string that separates items in a list (C# ListSeparator).
set_list_separator
fn set_list_separator(self: &mut Self, value: impl Into<String>)
Sets the string that separates items in a list.
with_list_separator
fn with_list_separator(self: Self, value: impl Into<String>) -> Self
The conventions with the given list separator.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDebugStructuralPartialEqPartialEqEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.