pub struct Loc {
pub path: Path,
pub name: Name,
}
Expand description
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 Eq for Loc
impl StructuralPartialEq for Loc
Auto Trait Implementations§
impl Freeze for Loc
impl RefUnwindSafe for Loc
impl !Send for Loc
impl !Sync for Loc
impl Unpin for Loc
impl UnwindSafe for Loc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more