Struct cheddar::ModulePath [−][src]
pub struct ModulePath { pub path: Vec<ModuleName>, }
A module path is a non-empty list of module(s), representing a hierarchy.
Fields
path: Vec<ModuleName>
Hierarchical path of modules leading to the module we want to import (included in the path).
Trait Implementations
impl Clone for ModulePath
[src]
impl Clone for ModulePath
fn clone(&self) -> ModulePath
[src]
fn clone(&self) -> ModulePath
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 ModulePath
[src]
impl Debug for ModulePath
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 Hash for ModulePath
[src]
impl Hash for ModulePath
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Eq for ModulePath
[src]
impl Eq for ModulePath
impl PartialEq for ModulePath
[src]
impl PartialEq for ModulePath
fn eq(&self, other: &ModulePath) -> bool
[src]
fn eq(&self, other: &ModulePath) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ModulePath) -> bool
[src]
fn ne(&self, other: &ModulePath) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ModulePath
impl Send for ModulePath
impl Sync for ModulePath
impl Sync for ModulePath