pub struct InterpolatedMappedPath {
pub from: InterpolatedString,
pub to: InterpolatedString,
}Expand description
A pair of path templates, mapping from a file or directory on the host to the target.
These paths may require target-specific interpretation before being transformed to an actual MappedPath.
Fields§
§from: InterpolatedStringSource path.
to: InterpolatedStringDestination path.
Trait Implementations§
source§impl Clone for InterpolatedMappedPath
impl Clone for InterpolatedMappedPath
source§fn clone(&self) -> InterpolatedMappedPath
fn clone(&self) -> InterpolatedMappedPath
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for InterpolatedMappedPath
impl Debug for InterpolatedMappedPath
source§impl<'de> Deserialize<'de> for InterpolatedMappedPath
impl<'de> Deserialize<'de> for InterpolatedMappedPath
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for InterpolatedMappedPath
impl PartialEq for InterpolatedMappedPath
source§fn eq(&self, other: &InterpolatedMappedPath) -> bool
fn eq(&self, other: &InterpolatedMappedPath) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for InterpolatedMappedPath
Auto Trait Implementations§
impl RefUnwindSafe for InterpolatedMappedPath
impl Send for InterpolatedMappedPath
impl Sync for InterpolatedMappedPath
impl Unpin for InterpolatedMappedPath
impl UnwindSafe for InterpolatedMappedPath
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