pub enum DecodeTarget {
Datum,
Term,
}Expand description
The checked form a decode resolves to once a position is known: inert data or an evaluable term.
Variants§
Trait Implementations§
Source§impl Clone for DecodeTarget
impl Clone for DecodeTarget
Source§fn clone(&self) -> DecodeTarget
fn clone(&self) -> DecodeTarget
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 moreimpl Copy for DecodeTarget
Source§impl Debug for DecodeTarget
impl Debug for DecodeTarget
impl Eq for DecodeTarget
Source§impl PartialEq for DecodeTarget
impl PartialEq for DecodeTarget
Source§fn eq(&self, other: &DecodeTarget) -> bool
fn eq(&self, other: &DecodeTarget) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecodeTarget
Auto Trait Implementations§
impl Freeze for DecodeTarget
impl RefUnwindSafe for DecodeTarget
impl Send for DecodeTarget
impl Sync for DecodeTarget
impl Unpin for DecodeTarget
impl UnsafeUnpin for DecodeTarget
impl UnwindSafe for DecodeTarget
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