Struct arch_test_core::access_rules::MayOnlyAccess [−][src]
pub struct MayOnlyAccess { /* fields omitted */ }
Expand description
Accessor
may only access accessed
relation
This access rule relation states that the accessor
layer may only access the specified accessed
layers.
As layer name it attempts to match either the module name or the parent module name, which is the directory the files were placed in.
If when_same_parent
is true
, the access rule is only applied within the same scope of modules that share the same parent.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MayOnlyAccess
impl Send for MayOnlyAccess
impl Sync for MayOnlyAccess
impl Unpin for MayOnlyAccess
impl UnwindSafe for MayOnlyAccess
Blanket Implementations
Mutably borrows from an owned value. Read more