pub struct Symbols<'data>(pub [Cow<'data, str>; 7]);
Expand description
Locale data for Weekday corresponding to the symbols.
🚧 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.
Tuple Fields§
§0: [Cow<'data, str>; 7]
Trait Implementations§
Source§impl<'data> BakeSize for Symbols<'data>
impl<'data> BakeSize for Symbols<'data>
Source§fn borrows_size(&self) -> usize
fn borrows_size(&self) -> usize
Returns the size
Source§impl<'de, 'data> Deserialize<'de> for Symbols<'data>where
'de: 'data,
impl<'de, 'data> Deserialize<'de> for Symbols<'data>where
'de: 'data,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Symbols<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Symbols<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> From<&Symbols<'a>> for LinearNames<'a>
impl<'a> From<&Symbols<'a>> for LinearNames<'a>
Source§fn from(other: &Symbols<'a>) -> LinearNames<'a>
fn from(other: &Symbols<'a>) -> LinearNames<'a>
Converts to this type from the input type.
Source§impl<'data> Serialize for Symbols<'data>
impl<'data> Serialize for Symbols<'data>
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl<'a> Yokeable<'a> for Symbols<'static>
impl<'a> Yokeable<'a> for Symbols<'static>
Source§type Output = Symbols<'a>
type Output = Symbols<'a>
This type MUST be
Self
with the 'static
replaced with 'a
, i.e. Self<'a>
impl<'data> StructuralPartialEq for Symbols<'data>
Auto Trait Implementations§
impl<'data> Freeze for Symbols<'data>
impl<'data> RefUnwindSafe for Symbols<'data>
impl<'data> Send for Symbols<'data>
impl<'data> Sync for Symbols<'data>
impl<'data> Unpin for Symbols<'data>
impl<'data> UnwindSafe for Symbols<'data>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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