pub struct OperationObservation {
pub source_offset: u64,
pub api_name: String,
pub type_tag: Option<TypeTag>,
}Expand description
One compiler-independent observation eligible for a registered SOG rule.
Fields§
§source_offset: u64Source-order position supplied by the adapter; it is not a stable ID.
api_name: StringCompiler-resolved API spelling, without a helper-specific wrapper.
type_tag: Option<TypeTag>Resolved operated-value category, when the compiler supplied one.
Trait Implementations§
Source§impl Clone for OperationObservation
impl Clone for OperationObservation
Source§fn clone(&self) -> OperationObservation
fn clone(&self) -> OperationObservation
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 OperationObservation
impl Debug for OperationObservation
impl Eq for OperationObservation
Source§impl PartialEq for OperationObservation
impl PartialEq for OperationObservation
impl StructuralPartialEq for OperationObservation
Auto Trait Implementations§
impl Freeze for OperationObservation
impl RefUnwindSafe for OperationObservation
impl Send for OperationObservation
impl Sync for OperationObservation
impl Unpin for OperationObservation
impl UnsafeUnpin for OperationObservation
impl UnwindSafe for OperationObservation
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.