pub struct DistLayout {
pub root: PathBuf,
}Expand description
The dist/ staging tree layout.
Fields§
§root: PathBufThe staging root; children are firmware/, app/, ta/, www/,
systemd/.
Implementations§
Source§impl DistLayout
impl DistLayout
Sourcepub fn firmware_dir(&self) -> PathBuf
pub fn firmware_dir(&self) -> PathBuf
The firmware subdirectory (<root>/firmware).
Sourcepub fn hmi_dir(&self) -> PathBuf
pub fn hmi_dir(&self) -> PathBuf
The PocketJS HMI subdirectory (<root>/hmi) holding the bundle + pak.
Sourcepub fn dts_linux_dir(&self) -> PathBuf
pub fn dts_linux_dir(&self) -> PathBuf
The Linux device-tree overlay subdirectory (<root>/dts/linux).
Sourcepub fn kernel_dir(&self) -> PathBuf
pub fn kernel_dir(&self) -> PathBuf
The kernel config-fragment subdirectory (<root>/kernel).
Sourcepub fn systemd_dir(&self) -> PathBuf
pub fn systemd_dir(&self) -> PathBuf
The systemd unit subdirectory (<root>/systemd).
Auto Trait Implementations§
impl Freeze for DistLayout
impl RefUnwindSafe for DistLayout
impl Send for DistLayout
impl Sync for DistLayout
impl Unpin for DistLayout
impl UnsafeUnpin for DistLayout
impl UnwindSafe for DistLayout
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