Enum biblatex::TimeOffset
source · pub enum TimeOffset {
Utc,
Offset {
positive: bool,
hours: u8,
minutes: u8,
},
}
Expand description
A timezone offset.
Variants§
Utc
Time is UTC. Do not assume an origin timezone.
Offset
Fields
Offset relative to UTC. Positiveness, hour, and minute.
Implementations§
Trait Implementations§
source§impl Clone for TimeOffset
impl Clone for TimeOffset
source§fn clone(&self) -> TimeOffset
fn clone(&self) -> TimeOffset
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 TimeOffset
impl Debug for TimeOffset
source§impl PartialEq for TimeOffset
impl PartialEq for TimeOffset
source§fn eq(&self, other: &TimeOffset) -> bool
fn eq(&self, other: &TimeOffset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TimeOffset
impl Eq for TimeOffset
impl StructuralEq for TimeOffset
impl StructuralPartialEq for TimeOffset
Auto Trait Implementations§
impl RefUnwindSafe for TimeOffset
impl Send for TimeOffset
impl Sync for TimeOffset
impl Unpin for TimeOffset
impl UnwindSafe for TimeOffset
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