pub struct RemapArg<'a> {
pub node: Option<&'a str>,
pub from: &'a str,
pub to: &'a str,
}Expand description
The -r/--remap rule one argument carried: [node:]from:=to, borrowed
from the argument it was parsed out of.
Fields§
§node: Option<&'a str>Some(name) for a name:from:=to rule, which applies only to the node
of that name (rcl matches the node NAME, not its namespace). None
applies to every node in the process.
from: &'a strThe name being remapped, as written (expanded at resolution time).
to: &'a strThe replacement, as written (expanded at resolution time).
Trait Implementations§
impl<'a> Copy for RemapArg<'a>
impl<'a> Eq for RemapArg<'a>
impl<'a> StructuralPartialEq for RemapArg<'a>
Auto Trait Implementations§
impl<'a> Freeze for RemapArg<'a>
impl<'a> RefUnwindSafe for RemapArg<'a>
impl<'a> Send for RemapArg<'a>
impl<'a> Sync for RemapArg<'a>
impl<'a> Unpin for RemapArg<'a>
impl<'a> UnsafeUnpin for RemapArg<'a>
impl<'a> UnwindSafe for RemapArg<'a>
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