pub struct SemanticBoundaries {
pub signature: Vec<SemanticBoundary>,
pub trait_impl: Vec<TraitImplBoundary>,
pub visibility: Vec<VisibilityBoundary>,
pub forbidden_marker: Vec<ForbiddenMarkerBoundary>,
pub dyn_trait: Vec<DynTraitBoundary>,
pub impl_trait: Vec<ImplTraitBoundary>,
pub async_exposure: Vec<AsyncExposureBoundary>,
pub unsafe_confinement: Vec<UnsafeBoundary>,
}Expand description
The 渾儀 (semantic) dimension’s boundaries, gathered so the shell takes the dimension as
one unit rather than one parameter per capability. Each field is one capability’s
boundaries; check_all evaluates them all with a single cargo metadata read.
Fields§
§signature: Vec<SemanticBoundary>Exposure boundaries (semantic-signature-coupling).
trait_impl: Vec<TraitImplBoundary>Impl-locality boundaries (semantic-trait-impl-locality).
visibility: Vec<VisibilityBoundary>Visibility boundaries (semantic-visibility-boundary).
forbidden_marker: Vec<ForbiddenMarkerBoundary>Forbidden-marker boundaries (semantic-forbidden-marker).
dyn_trait: Vec<DynTraitBoundary>Dyn-trait exposure boundaries (semantic-dyn-trait-boundary).
impl_trait: Vec<ImplTraitBoundary>Impl-trait (existential) exposure boundaries (semantic-impl-trait-boundary).
async_exposure: Vec<AsyncExposureBoundary>Async-fn (implicit existential) exposure boundaries (semantic-async-exposure-boundary).
unsafe_confinement: Vec<UnsafeBoundary>Unsafe-confinement boundaries (semantic-unsafe-confinement).
Implementations§
Trait Implementations§
Source§impl Clone for SemanticBoundaries
impl Clone for SemanticBoundaries
Source§fn clone(&self) -> SemanticBoundaries
fn clone(&self) -> SemanticBoundaries
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 SemanticBoundaries
impl Debug for SemanticBoundaries
Source§impl Default for SemanticBoundaries
impl Default for SemanticBoundaries
Source§fn default() -> SemanticBoundaries
fn default() -> SemanticBoundaries
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SemanticBoundaries
impl RefUnwindSafe for SemanticBoundaries
impl Send for SemanticBoundaries
impl Sync for SemanticBoundaries
impl Unpin for SemanticBoundaries
impl UnsafeUnpin for SemanticBoundaries
impl UnwindSafe for SemanticBoundaries
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