pub struct KernelFile {
pub path: String,
pub source: String,
pub sha256: String,
pub licence: Licence,
}Expand description
One file in the kernel header tree.
Four fields where a sysroot’s input has six, because every file in the tree came out of one source and got there one way. The URL is the kernel release’s and the provenance is bundled for all of them, so a column of each would be the same word a thousand times.
Fields§
§path: StringWhere it sits, relative to the tree’s root, which puts the architecture or generic first.
source: StringThe Linux release it came out of, as linux-6.19.
sha256: StringThe hash of the file, lowercase hex.
licence: LicenceWhat it may be done with, which for every file here is Licence::LinuxUapi.
Trait Implementations§
Source§impl Clone for KernelFile
impl Clone for KernelFile
Source§impl Debug for KernelFile
impl Debug for KernelFile
impl Eq for KernelFile
Source§impl Ord for KernelFile
impl Ord for KernelFile
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for KernelFile
impl PartialEq for KernelFile
Source§impl PartialOrd for KernelFile
impl PartialOrd for KernelFile
impl StructuralPartialEq for KernelFile
Auto Trait Implementations§
impl Freeze for KernelFile
impl RefUnwindSafe for KernelFile
impl Send for KernelFile
impl Sync for KernelFile
impl Unpin for KernelFile
impl UnsafeUnpin for KernelFile
impl UnwindSafe for KernelFile
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