#[non_exhaustive]pub struct StashDynamicBoundary {
pub package: Option<String>,
pub symbol: Option<String>,
pub range: SourceLocation,
pub boundary_item: Option<HirId>,
pub kind: StashDynamicBoundaryKind,
pub reason: String,
pub provenance: StashProvenance,
pub confidence: StashConfidence,
}Expand description
Dynamic stash mutation boundary.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.package: Option<String>Package affected by the boundary, when known.
symbol: Option<String>Symbol affected by the boundary, when statically known.
range: SourceLocationSource range for the boundary.
boundary_item: Option<HirId>HIR item that also records this boundary, when available.
kind: StashDynamicBoundaryKindBoundary category.
reason: StringShort reason for status/proof output.
provenance: StashProvenanceHow this boundary fact was produced.
confidence: StashConfidenceConfidence in this boundary fact.
Trait Implementations§
Source§impl Clone for StashDynamicBoundary
impl Clone for StashDynamicBoundary
Source§fn clone(&self) -> StashDynamicBoundary
fn clone(&self) -> StashDynamicBoundary
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 StashDynamicBoundary
impl Debug for StashDynamicBoundary
Source§impl PartialEq for StashDynamicBoundary
impl PartialEq for StashDynamicBoundary
Source§fn eq(&self, other: &StashDynamicBoundary) -> bool
fn eq(&self, other: &StashDynamicBoundary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StashDynamicBoundary
impl StructuralPartialEq for StashDynamicBoundary
Auto Trait Implementations§
impl Freeze for StashDynamicBoundary
impl RefUnwindSafe for StashDynamicBoundary
impl Send for StashDynamicBoundary
impl Sync for StashDynamicBoundary
impl Unpin for StashDynamicBoundary
impl UnsafeUnpin for StashDynamicBoundary
impl UnwindSafe for StashDynamicBoundary
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