Struct arch_test_core::access_rules::MayOnlyBeAccessedBy [−][src]
pub struct MayOnlyBeAccessedBy { /* fields omitted */ }
Expand description
Accessed
may only be accessed by accessors
relation
This access rule relation states that the accessors
layers may only access the specified accessed
layer.
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 MayOnlyBeAccessedBy
impl Send for MayOnlyBeAccessedBy
impl Sync for MayOnlyBeAccessedBy
impl Unpin for MayOnlyBeAccessedBy
impl UnwindSafe for MayOnlyBeAccessedBy
Blanket Implementations
Mutably borrows from an owned value. Read more