pub struct BehaviorChange {Show 15 fields
pub analysis: Option<RecordRef>,
pub id: String,
pub base: Option<RevisionRef>,
pub source: Option<RevisionRef>,
pub path: String,
pub symbol_address: String,
pub support: i32,
pub limitations: Vec<i32>,
pub versions: Option<BehaviorVersions>,
pub dependencies: Option<BehaviorDependencies>,
pub operations: Vec<BehaviorOperation>,
pub assignments: Vec<BehaviorAssignment>,
pub expressions: Vec<BehaviorExpression>,
pub bindings: Vec<BehaviorBinding>,
pub correspondences: Vec<BehaviorCorrespondence>,
}Expand description
A self-contained structural map. Typed containment (assignment.value_id, conditional.predicate_id), selection (branches), binding and correspondence are distinct. This version emits no inferred consequences or test approval; resolved call/reference graph edges remain independent evidence and cannot establish execution order or effects. All referenced IDs must occur here.
Fields§
§analysis: Option<RecordRef>§id: String§base: Option<RevisionRef>§source: Option<RevisionRef>§path: String§symbol_address: String§support: i32§limitations: Vec<i32>§versions: Option<BehaviorVersions>§dependencies: Option<BehaviorDependencies>§operations: Vec<BehaviorOperation>§assignments: Vec<BehaviorAssignment>§expressions: Vec<BehaviorExpression>§bindings: Vec<BehaviorBinding>§correspondences: Vec<BehaviorCorrespondence>Implementations§
Source§impl BehaviorChange
impl BehaviorChange
Sourcepub fn support(&self) -> BehaviorSupport
pub fn support(&self) -> BehaviorSupport
Returns the enum value of support, or the default if the field is set to an invalid enum value.
Sourcepub fn set_support(&mut self, value: BehaviorSupport)
pub fn set_support(&mut self, value: BehaviorSupport)
Sets support to the provided enum value.
Sourcepub fn limitations(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(i32) -> Option<BehaviorLimitation>> ⓘ
pub fn limitations( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(i32) -> Option<BehaviorLimitation>> ⓘ
Returns an iterator which yields the valid enum values contained in limitations.
Sourcepub fn push_limitations(&mut self, value: BehaviorLimitation)
pub fn push_limitations(&mut self, value: BehaviorLimitation)
Appends the provided enum value to limitations.
Trait Implementations§
Source§impl Clone for BehaviorChange
impl Clone for BehaviorChange
Source§fn clone(&self) -> BehaviorChange
fn clone(&self) -> BehaviorChange
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 BehaviorChange
impl Debug for BehaviorChange
Source§impl Default for BehaviorChange
impl Default for BehaviorChange
Source§fn default() -> BehaviorChange
fn default() -> BehaviorChange
Returns the “default value” for a type. Read more
Source§impl Message for BehaviorChange
impl Message for BehaviorChange
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for BehaviorChange
impl PartialEq for BehaviorChange
impl StructuralPartialEq for BehaviorChange
Auto Trait Implementations§
impl Freeze for BehaviorChange
impl RefUnwindSafe for BehaviorChange
impl Send for BehaviorChange
impl Sync for BehaviorChange
impl Unpin for BehaviorChange
impl UnsafeUnpin for BehaviorChange
impl UnwindSafe for BehaviorChange
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more