pub enum SourceObservation {
LowersTo(String),
Gap {
code: Symbol,
reason: String,
},
}Expand description
Observation produced by a language-specific source-case runner.
Variants§
LowersTo(String)
Source lowered to the displayed shared form.
Gap
Source is a declared gap with a machine-readable code and reason.
Trait Implementations§
Source§impl Clone for SourceObservation
impl Clone for SourceObservation
Source§fn clone(&self) -> SourceObservation
fn clone(&self) -> SourceObservation
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 SourceObservation
impl Debug for SourceObservation
impl Eq for SourceObservation
Source§impl PartialEq for SourceObservation
impl PartialEq for SourceObservation
Source§fn eq(&self, other: &SourceObservation) -> bool
fn eq(&self, other: &SourceObservation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceObservation
Auto Trait Implementations§
impl Freeze for SourceObservation
impl RefUnwindSafe for SourceObservation
impl Send for SourceObservation
impl Sync for SourceObservation
impl Unpin for SourceObservation
impl UnsafeUnpin for SourceObservation
impl UnwindSafe for SourceObservation
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.