Struct cheddar::ImportList [−][src]
pub struct ImportList { pub module: ModulePath, pub list: Vec<ModuleSymbol>, }
A non-empty import list.
It consists of a module path, like Foo.Bar.Zoo
, and a list of symbols to load from that path,
as in rick, marty, doggo
.
Fields
module: ModulePath
The module path to load symbols from.
list: Vec<ModuleSymbol>
List of symbols to import.
Methods
impl ImportList
[src]
impl ImportList
Trait Implementations
impl Clone for ImportList
[src]
impl Clone for ImportList
fn clone(&self) -> ImportList
[src]
fn clone(&self) -> ImportList
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ImportList
[src]
impl Debug for ImportList
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for ImportList
[src]
impl Eq for ImportList
impl PartialEq for ImportList
[src]
impl PartialEq for ImportList
fn eq(&self, other: &ImportList) -> bool
[src]
fn eq(&self, other: &ImportList) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ImportList) -> bool
[src]
fn ne(&self, other: &ImportList) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ImportList
impl Send for ImportList
impl Sync for ImportList
impl Sync for ImportList