#[non_exhaustive]pub struct CompileEnvironmentBoundary {
pub kind: CompileEnvironmentBoundaryKind,
pub range: SourceLocation,
pub boundary_item: Option<HirId>,
pub scope_id: Option<HirScopeId>,
pub package_context: Option<String>,
pub reason: String,
pub provenance: CompileProvenance,
pub confidence: CompileConfidence,
}Expand description
Dynamic compile-environment 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.kind: CompileEnvironmentBoundaryKindBoundary category.
range: SourceLocationSource range for the boundary.
boundary_item: Option<HirId>HIR item that also records this boundary, when available.
scope_id: Option<HirScopeId>Scope containing the boundary.
package_context: Option<String>Package context active at the boundary.
reason: StringShort reason for status/proof output.
provenance: CompileProvenanceHow this fact was produced.
confidence: CompileConfidenceConfidence in this fact.
Trait Implementations§
Source§impl Clone for CompileEnvironmentBoundary
impl Clone for CompileEnvironmentBoundary
Source§fn clone(&self) -> CompileEnvironmentBoundary
fn clone(&self) -> CompileEnvironmentBoundary
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 CompileEnvironmentBoundary
impl Debug for CompileEnvironmentBoundary
Source§impl PartialEq for CompileEnvironmentBoundary
impl PartialEq for CompileEnvironmentBoundary
Source§fn eq(&self, other: &CompileEnvironmentBoundary) -> bool
fn eq(&self, other: &CompileEnvironmentBoundary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CompileEnvironmentBoundary
impl StructuralPartialEq for CompileEnvironmentBoundary
Auto Trait Implementations§
impl Freeze for CompileEnvironmentBoundary
impl RefUnwindSafe for CompileEnvironmentBoundary
impl Send for CompileEnvironmentBoundary
impl Sync for CompileEnvironmentBoundary
impl Unpin for CompileEnvironmentBoundary
impl UnsafeUnpin for CompileEnvironmentBoundary
impl UnwindSafe for CompileEnvironmentBoundary
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