pub enum ContextValue {
Text(Rc<str>),
Integer(i64),
Boolean(bool),
Opaque(OpaqueContextValue),
}Variants§
Implementations§
Source§impl ContextValue
impl ContextValue
Sourcepub fn kind(&self) -> ContextKind
pub fn kind(&self) -> ContextKind
Read the scalar kind without inspecting owner data.
Trait Implementations§
Source§impl Clone for ContextValue
impl Clone for ContextValue
Source§impl Debug for ContextValue
impl Debug for ContextValue
Source§impl PartialEq for ContextValue
impl PartialEq for ContextValue
impl StructuralPartialEq for ContextValue
Auto Trait Implementations§
impl !RefUnwindSafe for ContextValue
impl !Send for ContextValue
impl !Sync for ContextValue
impl !UnwindSafe for ContextValue
impl Forget for ContextValue
impl Freeze for ContextValue
impl Move for ContextValue
impl Unpin for ContextValue
impl UnsafeUnpin for ContextValue
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