[][src]Enum syn_rsx::NodeName

pub enum NodeName {
    Path(ExprPath),
    Dash(Punctuated<Ident, Dash>),
    Colon(Punctuated<Ident, Colon>),
}

Name of the node

Variants

Path(ExprPath)

A plain identifier like div is a path of length 1, e.g. <div />. Can be separated by double colons, e.g. <foo::bar />

Name separated by dashes, e.g. <div data-foo="bar" />

Name separated by colons, e.g. <div on:click={foo} />

Implementations

impl NodeName[src]

pub fn span(&self) -> Span[src]

Returns the Span of this NodeName

Trait Implementations

impl Debug for NodeName[src]

impl Display for NodeName[src]

impl PartialEq<NodeName> for NodeName[src]

impl ToTokens for NodeName[src]

Auto Trait Implementations

impl RefUnwindSafe for NodeName

impl !Send for NodeName

impl !Sync for NodeName

impl Unpin for NodeName

impl UnwindSafe for NodeName

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Spanned for T where
    T: Spanned + ?Sized
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.