pub enum Field {
Shape(Scalar),
Label(Scalar),
Direction(Scalar),
Link(Scalar),
Tooltip(Scalar),
Style(Vec<StyleProperty>),
Svugy(Vec<SvugyProperty>),
}Expand description
Hold the value of one reserved field of the v1 subset; style.x: v and style: { x: v } both yield Style, vars: { svugy: { … } } yields Svugy.
Variants§
Shape(Scalar)
Label(Scalar)
Direction(Scalar)
Link(Scalar)
Tooltip(Scalar)
Style(Vec<StyleProperty>)
Svugy(Vec<SvugyProperty>)
Trait Implementations§
impl StructuralPartialEq for Field
Auto Trait Implementations§
impl Forget for Field
impl Freeze for Field
impl Move for Field
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnsafeUnpin for Field
impl UnwindSafe for Field
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,
impl<T> OrderedSeq<'_, T> 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.