pub struct LayerFile {
pub written: RelPath,
pub spec: FileSpec,
pub gated: Option<Reason>,
/* private fields */
}Expand description
One of a layer’s files: its entry, where its payload is, and whether its gates let it apply.
Fields§
§written: RelPathIts path as the profile wrote it: under files/, and before variables are answered.
spec: FileSpecIts entry.
gated: Option<Reason>Why it does not apply, when its features, profiles or vars say so.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LayerFile
impl RefUnwindSafe for LayerFile
impl Send for LayerFile
impl Sync for LayerFile
impl Unpin for LayerFile
impl UnsafeUnpin for LayerFile
impl UnwindSafe for LayerFile
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