pub enum ValueType<S: StringStorage> {
Show 16 variants
Binary,
Boolean,
CalendarUserAddress,
Date,
DateTime,
Duration,
Float,
Integer,
Period,
RecurrenceRule,
Text,
Time,
Uri,
UtcOffset,
XName(S),
Unrecognized(S),
}Variants§
Binary
Boolean
CalendarUserAddress
Date
DateTime
Duration
Float
Integer
Period
RecurrenceRule
Text
Time
Uri
UtcOffset
XName(S)
Custom experimental x-name value (must start with “X-” or “x-”)
Unrecognized(S)
Unrecognized value (not a known standard value)
Implementations§
Trait Implementations§
Source§impl<T: StringStorage> Display for ValueType<T>
impl<T: StringStorage> Display for ValueType<T>
Auto Trait Implementations§
impl<S> Freeze for ValueType<S>where
S: Freeze,
impl<S> RefUnwindSafe for ValueType<S>where
S: RefUnwindSafe,
impl<S> Send for ValueType<S>where
S: Send,
impl<S> Sync for ValueType<S>where
S: Sync,
impl<S> Unpin for ValueType<S>where
S: Unpin,
impl<S> UnwindSafe for ValueType<S>where
S: UnwindSafe,
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<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.