Struct icu_datetime::provider::pattern::reference::GenericPattern
source ยท pub struct GenericPattern { /* private fields */ }
Expand description
A fully-owned, non-zero-copy type corresponding to GenericPattern
.
๐ง This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. While the serde representation of data structs is guaranteed
to be stable, their Rust representation might not be. Use with caution.
Trait Implementationsยง
sourceยงimpl Debug for GenericPattern
impl Debug for GenericPattern
sourceยงimpl From<&GenericPattern<'_>> for GenericPattern
impl From<&GenericPattern<'_>> for GenericPattern
sourceยงfn from(input: &GenericPattern<'_>) -> Self
fn from(input: &GenericPattern<'_>) -> Self
Converts to this type from the input type.
sourceยงimpl From<&GenericPattern> for GenericPattern<'_>
impl From<&GenericPattern> for GenericPattern<'_>
sourceยงfn from(input: &GenericPattern) -> Self
fn from(input: &GenericPattern) -> Self
Converts to this type from the input type.
sourceยงimpl From<Vec<GenericPatternItem>> for GenericPattern
impl From<Vec<GenericPatternItem>> for GenericPattern
sourceยงfn from(items: Vec<GenericPatternItem>) -> Self
fn from(items: Vec<GenericPatternItem>) -> Self
Converts to this type from the input type.
Auto Trait Implementationsยง
impl Freeze for GenericPattern
impl RefUnwindSafe for GenericPattern
impl Send for GenericPattern
impl Sync for GenericPattern
impl Unpin for GenericPattern
impl UnwindSafe for GenericPattern
Blanket Implementationsยง
sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more