Struct icu_datetime::FormattedTimeZone
source · [−]pub struct FormattedTimeZone<'l, T> where
T: TimeZoneInput, { /* private fields */ }
Implementations
sourceimpl<'l, T> FormattedTimeZone<'l, T> where
T: TimeZoneInput,
impl<'l, T> FormattedTimeZone<'l, T> where
T: TimeZoneInput,
Trait Implementations
sourceimpl<'l, T> Display for FormattedTimeZone<'l, T> where
T: TimeZoneInput,
impl<'l, T> Display for FormattedTimeZone<'l, T> where
T: TimeZoneInput,
sourceimpl<'l, T> Writeable for FormattedTimeZone<'l, T> where
T: TimeZoneInput,
impl<'l, T> Writeable for FormattedTimeZone<'l, T> where
T: TimeZoneInput,
sourcefn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error> where
S: PartsWrite + ?Sized,
fn write_to_parts<S>(&self, sink: &mut S) -> Result<(), Error> where
S: PartsWrite + ?Sized,
Write bytes and Part
annotations to the given sink. Errors from the
sink are bubbled up. The default implementation delegates to write_to
,
and doesn’t produce any Part
annotations. Read more
sourcefn write_len(&self) -> LengthHint
fn write_len(&self) -> LengthHint
Returns a hint for the number of bytes that will be written to the sink. Read more
sourcefn write_to_string(&self) -> Cow<'_, str>
fn write_to_string(&self) -> Cow<'_, str>
Creates a new String
with the data from this Writeable
. Like ToString
,
but smaller and faster. Read more
Auto Trait Implementations
impl<'l, T> RefUnwindSafe for FormattedTimeZone<'l, T> where
T: RefUnwindSafe,
impl<'l, T> !Send for FormattedTimeZone<'l, T>
impl<'l, T> !Sync for FormattedTimeZone<'l, T>
impl<'l, T> Unpin for FormattedTimeZone<'l, T>
impl<'l, T> UnwindSafe for FormattedTimeZone<'l, T> where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Separable for T where
T: Display,
impl<T> Separable for T where
T: Display,
sourcefn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
fn separate_by_policy(&self, policy: SeparatorPolicy<'_>) -> String
Adds separators according to the given SeparatorPolicy
. Read more
sourcefn separate_with_commas(&self) -> String
fn separate_with_commas(&self) -> String
Inserts a comma every three digits from the right. Read more
sourcefn separate_with_spaces(&self) -> String
fn separate_with_spaces(&self) -> String
Inserts a space every three digits from the right. Read more
sourcefn separate_with_dots(&self) -> String
fn separate_with_dots(&self) -> String
Inserts a period every three digits from the right. Read more
sourcefn separate_with_underscores(&self) -> String
fn separate_with_underscores(&self) -> String
Inserts an underscore every three digits from the right. Read more