pub struct DefaultLayout { /* private fields */ }Expand description
Default layout, usually for build-script.
Implementations§
Trait Implementations§
Source§impl Layout for DefaultLayout
impl Layout for DefaultLayout
fn name(&self) -> &Name
Source§fn root(&self) -> &Path
fn root(&self) -> &Path
The root directory:
/path/to/target/profile/playdate.
If per-target: /path/to/target/$TRIPLE/profile/playdate.
If build-script: /path/to/target(/$TRIPLE)/profile/build/**/out ($OUT_DIR or export-dir).Source§fn assets_hash(&self) -> Cow<'_, Path>
fn assets_hash(&self) -> Cow<'_, Path>
Hash of collected assets:
$dest/.assets.hashfn assets_plan(&self) -> Cow<'_, Path>
Auto Trait Implementations§
impl Freeze for DefaultLayout
impl RefUnwindSafe for DefaultLayout
impl Send for DefaultLayout
impl Sync for DefaultLayout
impl Unpin for DefaultLayout
impl UnsafeUnpin for DefaultLayout
impl UnwindSafe for DefaultLayout
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more