pub struct Remote {
pub path: Path,
pub delegates: Vec<Delegate>,
}Expand description
The UPSTREAM vocabulary a declaration mirrors, and what it asked to borrow from it.
A mirror RESTATES the upstream’s variants — identifiers only — and delegates the whole slug
grammar to the upstream’s own FromStr and Display.
That is the single-source rule this mode is built on: there is no second table of words here for
the upstream’s to drift from.
Fields§
§path: PathThe upstream type, as the declaration wrote it.
delegates: Vec<Delegate>The methods forwarded onto the materialized upstream value, each restated by the declaration.
The signature is the DECLARATION’S because Rust has no typeof: a forwarding method needs a
written return type, and the one place that type is known is the declaration doing the asking.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Remote
impl !Sync for Remote
impl Freeze for Remote
impl RefUnwindSafe for Remote
impl Unpin for Remote
impl UnsafeUnpin for Remote
impl UnwindSafe for Remote
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