Struct adapton::engine::reflect::Loc
[−]
[src]
pub struct Loc { pub path: Path, pub name: Name, }
Reflected version of engine::Loc
A Loc
is a particular
template for a Name
: It is a path (a possibly-empty list of
Name
s), followed by a distinguished Name
. A Loc
can be
thought of roughly like a file path in UNIX (but Adapton has
nothing to do with files, or with UNIX, directly).
Fields
path: Path
The path of the Loc
is a list of Name
s.
name: Name
The distinguished Name
of the Loc
(must be unique in the path).
Trait Implementations
impl PartialEq for Loc
[src]
fn eq(&self, __arg_0: &Loc) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Loc) -> bool
This method tests for !=
.
impl Eq for Loc
[src]
impl Debug for Loc
[src]
impl Hash for Loc
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the state provided.
impl Clone for Loc
[src]
fn clone(&self) -> Loc
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