Enum pax_manifest::TreeLocation
source · pub enum TreeLocation {
Root,
Parent(TemplateNodeId),
}
Variants§
Root
Parent(TemplateNodeId)
Trait Implementations§
source§impl Clone for TreeLocation
impl Clone for TreeLocation
source§fn clone(&self) -> TreeLocation
fn clone(&self) -> TreeLocation
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 TreeLocation
impl Debug for TreeLocation
source§impl Default for TreeLocation
impl Default for TreeLocation
source§fn default() -> TreeLocation
fn default() -> TreeLocation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TreeLocation
impl<'de> Deserialize<'de> for TreeLocation
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 TreeLocation
impl PartialEq for TreeLocation
source§fn eq(&self, other: &TreeLocation) -> bool
fn eq(&self, other: &TreeLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TreeLocation
impl Serialize for TreeLocation
impl Eq for TreeLocation
impl StructuralPartialEq for TreeLocation
Auto Trait Implementations§
impl Freeze for TreeLocation
impl RefUnwindSafe for TreeLocation
impl Send for TreeLocation
impl Sync for TreeLocation
impl Unpin for TreeLocation
impl UnwindSafe for TreeLocation
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, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.