pub struct Application;Expand description
Accessors for selected UnityEngine.Application properties.
Implementations§
Source§impl Application
impl Application
Sourcepub fn unity_version() -> Result<String, String>
pub fn unity_version() -> Result<String, String>
Gets the Unity engine version
Returns “unknown” if the version string is empty.
Sourcepub fn identifier() -> Result<String, String>
pub fn identifier() -> Result<String, String>
Gets the application identifier (bundle ID)
Tries both get_identifier and get_bundleIdentifier.
Auto Trait Implementations§
impl Freeze for Application
impl RefUnwindSafe for Application
impl Send for Application
impl Sync for Application
impl Unpin for Application
impl UnsafeUnpin for Application
impl UnwindSafe for Application
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