pub enum PathNode {
Required(PathBuf),
Optional(OptionalPathNode),
}
Expand description
Describes a path that is either optional or required
Variants§
Required(PathBuf)
Optional(OptionalPathNode)
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for PathNode
impl<'de> Deserialize<'de> for PathNode
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 PathNode
impl PartialEq for PathNode
impl StructuralPartialEq for PathNode
Auto Trait Implementations§
impl RefUnwindSafe for PathNode
impl Send for PathNode
impl Sync for PathNode
impl Unpin for PathNode
impl UnwindSafe for PathNode
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