Struct adapton::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 Names), 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

The path of the Loc is a list of Names.

The distinguished Name of the Loc (must be unique in the path).

Trait Implementations

impl PartialEq for Loc
[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 Loc
[src]

impl Debug for Loc
[src]

[src]

Formats the value using the given formatter.

impl Hash for Loc
[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 Clone for Loc
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more