pub struct App { /* private fields */ }
Implementations§
source§impl App
impl App
pub fn from_raw(root_dir: PathBuf, raw: Raw) -> Result<Self, Error>
pub fn with_target_dir_resolver<F: Fn(&str, Profile) -> PathBuf + 'static>( self, resolver: F, ) -> Self
pub fn root_dir(&self) -> &Path
pub fn target_dir(&self, triple: &str, profile: Profile) -> PathBuf
pub fn prefix_path(&self, path: impl AsRef<Path>) -> PathBuf
pub fn unprefix_path( &self, path: impl AsRef<Path>, ) -> Result<PathBuf, PathNotPrefixed>
pub fn name(&self) -> &str
pub fn name_snake(&self) -> String
pub fn lib_name(&self) -> String
pub fn stylized_name(&self) -> &str
pub fn identifier(&self) -> &str
pub fn android_identifier_escape_kotlin_keyword(&self) -> String
pub fn manifest_path(&self) -> PathBuf
pub fn asset_dir(&self) -> PathBuf
pub fn template_pack(&self) -> &Pack
Trait Implementations§
Auto Trait Implementations§
impl Freeze for App
impl !RefUnwindSafe for App
impl !Send for App
impl !Sync for App
impl Unpin for App
impl !UnwindSafe for App
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)