pub enum PathBehavior {
Delete,
KeepSafe,
KeepUnsafe,
Inherit,
}Variants§
Implementations§
source§impl PathBehavior
impl PathBehavior
sourcepub const fn is_delete(&self) -> bool
pub const fn is_delete(&self) -> bool
Returns true if the enum is PathBehavior::Delete otherwise false
sourcepub const fn is_keep_safe(&self) -> bool
pub const fn is_keep_safe(&self) -> bool
Returns true if the enum is PathBehavior::KeepSafe otherwise false
sourcepub const fn is_keep_unsafe(&self) -> bool
pub const fn is_keep_unsafe(&self) -> bool
Returns true if the enum is PathBehavior::KeepUnsafe otherwise false
sourcepub const fn is_inherit(&self) -> bool
pub const fn is_inherit(&self) -> bool
Returns true if the enum is PathBehavior::Inherit otherwise false
Trait Implementations§
source§impl Clone for PathBehavior
impl Clone for PathBehavior
source§fn clone(&self) -> PathBehavior
fn clone(&self) -> PathBehavior
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 PathBehavior
impl Debug for PathBehavior
source§impl Default for PathBehavior
impl Default for PathBehavior
source§fn default() -> PathBehavior
fn default() -> PathBehavior
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PathBehavior
impl<'de> Deserialize<'de> for PathBehavior
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 Display for PathBehavior
impl Display for PathBehavior
source§impl PartialEq for PathBehavior
impl PartialEq for PathBehavior
source§impl Serialize for PathBehavior
impl Serialize for PathBehavior
impl Copy for PathBehavior
impl Eq for PathBehavior
impl StructuralPartialEq for PathBehavior
Auto Trait Implementations§
impl Freeze for PathBehavior
impl RefUnwindSafe for PathBehavior
impl Send for PathBehavior
impl Sync for PathBehavior
impl Unpin for PathBehavior
impl UnwindSafe for PathBehavior
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)