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

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

Fields

inner: T span: Span

Trait Implementations

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

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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

fn clone(&self) -> Spanned<T>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

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

fn into(self) -> Expr

Performs the conversion.

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

fn into(self) -> Expr

Performs the conversion.

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

fn into(self) -> Box<Expr>

Performs the conversion.

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

fn into(self) -> Ident

Performs the conversion.

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