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 duplicate 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§impl Serialize for InterpolatedMappedPath
impl Serialize for InterpolatedMappedPath
impl StructuralPartialEq for InterpolatedMappedPath
Auto Trait Implementations§
impl Freeze for InterpolatedMappedPath
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