pub struct ConstructObservation {
pub source_offset: u64,
pub kind: OperationKind,
pub fallible_kind: Option<FallibleKind>,
pub direct_propagation: Option<DirectPropagation>,
pub resource_kind: Option<String>,
}Expand description
One compiler-confirmed non-API operation eligible for a registered SOG rule.
The protocol adapter maps its helper-specific construct vocabulary into this closed core vocabulary before calling the normalizer.
Fields§
§source_offset: u64Source-order position supplied by the adapter; it is not a stable ID.
kind: OperationKindClosed SOG operation the compiler established.
fallible_kind: Option<FallibleKind>Standard fallible container the compiler resolved for this operation.
None is never treated as interchangeable with either known variant
by a registered rule.
direct_propagation: Option<DirectPropagation>Closed direct-propagation spelling the helper confirmed, when any.
resource_kind: Option<String>Registered resource category for a compiler-confirmed acquire or release operation. It is absent for every other construct.
Trait Implementations§
Source§impl Clone for ConstructObservation
impl Clone for ConstructObservation
Source§fn clone(&self) -> ConstructObservation
fn clone(&self) -> ConstructObservation
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 ConstructObservation
impl Debug for ConstructObservation
impl Eq for ConstructObservation
Source§impl PartialEq for ConstructObservation
impl PartialEq for ConstructObservation
impl StructuralPartialEq for ConstructObservation
Auto Trait Implementations§
impl Freeze for ConstructObservation
impl RefUnwindSafe for ConstructObservation
impl Send for ConstructObservation
impl Sync for ConstructObservation
impl Unpin for ConstructObservation
impl UnsafeUnpin for ConstructObservation
impl UnwindSafe for ConstructObservation
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.