Struct xswag_syntax_java::ast::Spanned [] [src]

pub struct Spanned<T: Clone + Debug> {
    pub inner: T,
    pub span: Span,
}

Fields

Methods

impl<T: Clone + Debug> Spanned<T>
[src]

Trait Implementations

impl<T: Clone + Clone + Debug> Clone for Spanned<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug + Clone + Debug> Debug for Spanned<T>
[src]

Formats the value using the given formatter.

impl Into<Expr> for Spanned<ExprType>
[src]

Performs the conversion.

impl Into<Expr> for Spanned<Expr>
[src]

Performs the conversion.

impl Into<Box<Expr>> for Spanned<ExprType>
[src]

Performs the conversion.

impl<T> Into<Ident> for Spanned<T> where
    T: Into<String> + Clone + Debug
[src]

Performs the conversion.

impl<T> Copy for Spanned<T> where
    T: Copy + Debug
[src]