pub struct LayoutEntry {
pub role: &'static str,
pub path: String,
pub kind: EntryKind,
pub exists: bool,
}Expand description
One role of the layout as found on disk (AppManifest::layout).
Fields§
§role: &'static strThe role (ROLES).
path: StringIts path, relative to the project root.
kind: EntryKindA file or a directory.
exists: boolWhether that file (or directory) exists.
Trait Implementations§
Source§impl Clone for LayoutEntry
impl Clone for LayoutEntry
Source§impl Debug for LayoutEntry
impl Debug for LayoutEntry
impl Eq for LayoutEntry
Source§impl PartialEq for LayoutEntry
impl PartialEq for LayoutEntry
impl StructuralPartialEq for LayoutEntry
Auto Trait Implementations§
impl Freeze for LayoutEntry
impl RefUnwindSafe for LayoutEntry
impl Send for LayoutEntry
impl Sync for LayoutEntry
impl Unpin for LayoutEntry
impl UnsafeUnpin for LayoutEntry
impl UnwindSafe for LayoutEntry
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