pub struct TimeZoneVariantULE(/* private fields */);
Expand description
ULE
type for TimeZoneVariant
Trait Implementations§
Source§impl Clone for TimeZoneVariantULE
impl Clone for TimeZoneVariantULE
Source§fn clone(&self) -> TimeZoneVariantULE
fn clone(&self) -> TimeZoneVariantULE
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Ord for TimeZoneVariantULE
impl Ord for TimeZoneVariantULE
Source§fn cmp(&self, other: &TimeZoneVariantULE) -> Ordering
fn cmp(&self, other: &TimeZoneVariantULE) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TimeZoneVariantULE
impl PartialEq for TimeZoneVariantULE
Source§impl PartialOrd for TimeZoneVariantULE
impl PartialOrd for TimeZoneVariantULE
Source§impl ULE for TimeZoneVariantULE
impl ULE for TimeZoneVariantULE
Source§fn validate_bytes(bytes: &[u8]) -> Result<(), UleError>
fn validate_bytes(bytes: &[u8]) -> Result<(), UleError>
Validates a byte slice,
&[u8]
. Read more§fn parse_bytes_to_slice(bytes: &[u8]) -> Result<&[Self], UleError>
fn parse_bytes_to_slice(bytes: &[u8]) -> Result<&[Self], UleError>
§unsafe fn slice_from_bytes_unchecked(bytes: &[u8]) -> &[Self]
unsafe fn slice_from_bytes_unchecked(bytes: &[u8]) -> &[Self]
Takes a byte slice,
&[u8]
, and return it as &[Self]
with the same lifetime, assuming
that this byte slice has previously been run through [Self::parse_bytes_to_slice()
] with
success. Read more§fn slice_as_bytes(slice: &[Self]) -> &[u8] ⓘ
fn slice_as_bytes(slice: &[Self]) -> &[u8] ⓘ
impl Copy for TimeZoneVariantULE
impl Eq for TimeZoneVariantULE
impl StructuralPartialEq for TimeZoneVariantULE
Auto Trait Implementations§
impl Freeze for TimeZoneVariantULE
impl RefUnwindSafe for TimeZoneVariantULE
impl Send for TimeZoneVariantULE
impl Sync for TimeZoneVariantULE
impl Unpin for TimeZoneVariantULE
impl UnwindSafe for TimeZoneVariantULE
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