Struct syntax::ast::UseTree[][src]

pub struct UseTree {
    pub prefix: Path,
    pub kind: UseTreeKind,
    pub span: Span,
}

A tree of paths sharing common prefixes. Used in use items both at top-level and inside of braces in import groups.

Fields

Methods

impl UseTree
[src]

Trait Implementations

impl Clone for UseTree
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for UseTree
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for UseTree
[src]

impl Encodable for UseTree
[src]

impl Decodable for UseTree
[src]

impl Hash for UseTree
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for UseTree
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for UseTree

impl !Sync for UseTree