Enum cargo_toml::OptionalFile
source · [−]Expand description
Readme of build.rs path
Variants
Flag(bool)
Opt-in to default, or explicit opt-out
Path(String)
Explicit path
Implementations
Trait Implementations
sourceimpl Clone for OptionalFile
impl Clone for OptionalFile
sourcefn clone(&self) -> OptionalFile
fn clone(&self) -> OptionalFile
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OptionalFile
impl Debug for OptionalFile
sourceimpl Default for OptionalFile
impl Default for OptionalFile
sourceimpl<'de> Deserialize<'de> for OptionalFile
impl<'de> Deserialize<'de> for OptionalFile
sourcefn 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
sourceimpl PartialEq<OptionalFile> for OptionalFile
impl PartialEq<OptionalFile> for OptionalFile
sourcefn eq(&self, other: &OptionalFile) -> bool
fn eq(&self, other: &OptionalFile) -> bool
sourceimpl Serialize for OptionalFile
impl Serialize for OptionalFile
impl Eq for OptionalFile
impl StructuralEq for OptionalFile
impl StructuralPartialEq for OptionalFile
Auto Trait Implementations
impl RefUnwindSafe for OptionalFile
impl Send for OptionalFile
impl Sync for OptionalFile
impl Unpin for OptionalFile
impl UnwindSafe for OptionalFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more