pub struct Layer {
pub role: Role,
pub tier: Tier,
pub hardware: String,
pub dir: PathBuf,
pub manifest: Option<KernelManifest>,
}Expand description
2026-09-26: One of a target’s directories, whether or not it exists.
Fields§
§role: Role§tier: Tier§hardware: String2026-09-26: The kernels/<hardware> tree this directory is under,
which its [sources] use paths are relative to.
dir: PathBuf§manifest: Option<KernelManifest>Trait Implementations§
impl Eq for Layer
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnwindSafe for Layer
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