#[repr(u32)]pub enum TreeTraversalType {
RestrictChildren = 0,
RestrictSibling = 1,
Inorder = 2,
}
Expand description
Defines how an object-tree is to be traversed.
Used in CollectionProxy
.
Variants§
RestrictChildren = 0
When traversing the tree, restrict to children of the current object.
RestrictSibling = 1
When traversing the tree, restrict to siblings of the current object.
Inorder = 2
Traverse the tree in order of appearance.
Trait Implementations§
source§impl Clone for TreeTraversalType
impl Clone for TreeTraversalType
source§fn clone(&self) -> TreeTraversalType
fn clone(&self) -> TreeTraversalType
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 TreeTraversalType
impl Debug for TreeTraversalType
source§impl Default for TreeTraversalType
impl Default for TreeTraversalType
source§fn default() -> TreeTraversalType
fn default() -> TreeTraversalType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TreeTraversalType
impl<'de> Deserialize<'de> for TreeTraversalType
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 TreeTraversalType
impl PartialEq for TreeTraversalType
source§impl Serialize for TreeTraversalType
impl Serialize for TreeTraversalType
source§impl Type for TreeTraversalType
impl Type for TreeTraversalType
impl Copy for TreeTraversalType
impl Eq for TreeTraversalType
impl StructuralPartialEq for TreeTraversalType
Auto Trait Implementations§
impl Freeze for TreeTraversalType
impl RefUnwindSafe for TreeTraversalType
impl Send for TreeTraversalType
impl Sync for TreeTraversalType
impl Unpin for TreeTraversalType
impl UnwindSafe for TreeTraversalType
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
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<'de, T> DynamicDeserialize<'de> for T
impl<'de, T> DynamicDeserialize<'de> for T
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
source§fn deserializer_for_signature<S>(
signature: S,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature<S>( signature: S, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this signature.
source§impl<T> DynamicType for T
impl<T> DynamicType for T
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.