pub struct ShapeExpected {
pub glob: String,
pub layer: String,
}Expand description
Per-project “this directory should belong to this architectural layer”
declaration. aver shape --lint walks these and flags any module whose
nearest-layer guess disagrees.
Fields§
§glob: String§layer: StringTrait Implementations§
Source§impl Clone for ShapeExpected
impl Clone for ShapeExpected
Source§fn clone(&self) -> ShapeExpected
fn clone(&self) -> ShapeExpected
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 moreAuto Trait Implementations§
impl Freeze for ShapeExpected
impl RefUnwindSafe for ShapeExpected
impl Send for ShapeExpected
impl Sync for ShapeExpected
impl Unpin for ShapeExpected
impl UnsafeUnpin for ShapeExpected
impl UnwindSafe for ShapeExpected
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