Enum cmake_file_api::objects::codemodel_v2::directory::InstallPath
source · #[non_exhaustive]pub enum InstallPath {
PathCombination(String),
FromTo(FromToPaths),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PathCombination(String)
A string specifying the path from which a file or directory is to be installed. The portion of the path not preceded by a / also specifies the path (name) to which the file or directory is to be installed under the destination.
FromTo(FromToPaths)
A pair of paths specifying the path from which a file or directory is to be installed and the path to which the file or directory is to be installed under the destination.
Trait Implementations§
source§impl Clone for InstallPath
impl Clone for InstallPath
source§fn clone(&self) -> InstallPath
fn clone(&self) -> InstallPath
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 InstallPath
impl Debug for InstallPath
source§impl<'de> Deserialize<'de> for InstallPath
impl<'de> Deserialize<'de> for InstallPath
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 InstallPath
impl PartialEq for InstallPath
source§impl Serialize for InstallPath
impl Serialize for InstallPath
impl StructuralPartialEq for InstallPath
Auto Trait Implementations§
impl Freeze for InstallPath
impl RefUnwindSafe for InstallPath
impl Send for InstallPath
impl Sync for InstallPath
impl Unpin for InstallPath
impl UnwindSafe for InstallPath
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)