Struct temporal_rs::parser::TemporalTimeZoneString
source · pub struct TemporalTimeZoneString;
Expand description
Parse a TemporalTimeZoneString
.
Implementations§
source§impl TemporalTimeZoneString
impl TemporalTimeZoneString
sourcepub fn parse(cursor: &mut Cursor) -> TemporalResult<TimeZone>
pub fn parse(cursor: &mut Cursor) -> TemporalResult<TimeZone>
Parses a targeted string as a TimeZone
.
§Errors
The parse will error if the provided target is not valid Iso8601 grammar.
Trait Implementations§
source§impl Clone for TemporalTimeZoneString
impl Clone for TemporalTimeZoneString
source§fn clone(&self) -> TemporalTimeZoneString
fn clone(&self) -> TemporalTimeZoneString
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 Debug for TemporalTimeZoneString
impl Debug for TemporalTimeZoneString
impl Copy for TemporalTimeZoneString
Auto Trait Implementations§
impl RefUnwindSafe for TemporalTimeZoneString
impl Send for TemporalTimeZoneString
impl Sync for TemporalTimeZoneString
impl Unpin for TemporalTimeZoneString
impl UnwindSafe for TemporalTimeZoneString
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