pub enum ResolvedRef {
Symbol(Symbol),
Datum(Datum),
Value(Value),
Coordinate(Coordinate),
Missing(Ref),
}Expand description
Outcome of resolving a Ref back toward a value or datum.
Variants§
Symbol(Symbol)
The reference named a symbol.
Datum(Datum)
The reference resolved to interned content data.
Value(Value)
The reference resolved to a live runtime value.
Coordinate(Coordinate)
The reference named a coordinate in some space.
Missing(Ref)
The reference could not be resolved in the current context.
Trait Implementations§
Source§impl Clone for ResolvedRef
impl Clone for ResolvedRef
Source§fn clone(&self) -> ResolvedRef
fn clone(&self) -> ResolvedRef
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 ResolvedRef
impl Debug for ResolvedRef
impl Eq for ResolvedRef
Source§impl PartialEq for ResolvedRef
impl PartialEq for ResolvedRef
Source§fn eq(&self, other: &ResolvedRef) -> bool
fn eq(&self, other: &ResolvedRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvedRef
Auto Trait Implementations§
impl !RefUnwindSafe for ResolvedRef
impl !UnwindSafe for ResolvedRef
impl Freeze for ResolvedRef
impl Send for ResolvedRef
impl Sync for ResolvedRef
impl Unpin for ResolvedRef
impl UnsafeUnpin for ResolvedRef
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