Struct syn_expand_use::ExpandedUseItem [] [src]

pub struct ExpandedUseItem {
    pub prefix: Punctuated<Ident, Colon2>,
    pub item: UseItem,
}

An expanded item from a [UseTree].

Fields

The path to the item, which may be empty.

Item itself.

Trait Implementations

impl Clone for ExpandedUseItem
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ExpandedUseItem
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for ExpandedUseItem
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for ExpandedUseItem
[src]

impl Hash for ExpandedUseItem
[src]

[src]

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

1.3.0
[src]

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

impl ToTokens for ExpandedUseItem
[src]

[src]

Write self to the given Tokens. Read more

[src]

Convert self directly into a Tokens object. Read more

Auto Trait Implementations