pub enum DescribeValue {
Handle(HandleId),
Rendered(Value),
}Expand description
Per-node cache value in describe output. Serialized uniformly
without an enum tag.
Variants§
Handle(HandleId)
Raw handle view (default for [crate::GraphOps::describe]).
Rendered(Value)
Binding-rendered view (from [crate::GraphOps::describe_with_debug]).
Trait Implementations§
Source§impl Clone for DescribeValue
impl Clone for DescribeValue
Source§fn clone(&self) -> DescribeValue
fn clone(&self) -> DescribeValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DescribeValue
impl Debug for DescribeValue
Source§impl PartialEq for DescribeValue
impl PartialEq for DescribeValue
Source§fn eq(&self, other: &DescribeValue) -> bool
fn eq(&self, other: &DescribeValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DescribeValue
impl Serialize for DescribeValue
impl StructuralPartialEq for DescribeValue
Auto Trait Implementations§
impl Freeze for DescribeValue
impl RefUnwindSafe for DescribeValue
impl Send for DescribeValue
impl Sync for DescribeValue
impl Unpin for DescribeValue
impl UnsafeUnpin for DescribeValue
impl UnwindSafe for DescribeValue
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