Enum xswag_syntax_java::ast::Import [] [src]

pub enum Import {
    SingleType(Path),
    TypeOnDemand(Path),
    SingleStatic(Path),
    StaticOnDemand(Path),
}

A import declaration

Variants

SingleType(Path)

e.g. import IO.AlgoTools;

TypeOnDemand(Path)

called "type-import-on-demand" in specs -- e.g. import IO.*;

SingleStatic(Path)StaticOnDemand(Path)

Trait Implementations

impl Clone for Import
[src]

fn clone(&self) -> Import

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 Debug for Import
[src]

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

Formats the value using the given formatter.