struct RelativeSpan<'a> {
span: Span,
kind: RelativeSpanKind<'a>,
}
Expand description
A balanced span between a range of civil or zoned datetimes.
The span is always balanced up to a certain unit as given to
RelativeSpanKind::into_relative_span
.
Fields§
§span: Span
§kind: RelativeSpanKind<'a>
Trait Implementations§
Source§impl<'a> Clone for RelativeSpan<'a>
impl<'a> Clone for RelativeSpan<'a>
Source§fn clone(&self) -> RelativeSpan<'a>
fn clone(&self) -> RelativeSpan<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for RelativeSpan<'a>
impl<'a> RefUnwindSafe for RelativeSpan<'a>
impl<'a> Send for RelativeSpan<'a>
impl<'a> Sync for RelativeSpan<'a>
impl<'a> Unpin for RelativeSpan<'a>
impl<'a> UnwindSafe for RelativeSpan<'a>
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