Struct roblox_install::RobloxStudio [−][src]
Implementations
impl RobloxStudio
[src]
pub fn locate() -> Result<RobloxStudio>
[src]
Attempts to find a Roblox Studio installation. It will start by looking up
into the environment variable ROBLOX_STUDIO_PATH
. If the variable is not
defined, it will find the usual installation on Windows and MacOS.
On Windows (or WSL), the environment variable can point to a specific version (where
the RobloxStudioBeta.exe
file and content
directory are located) or it
can also point to the Roblox directory in AppData ($APPDATA\Local\Roblox
)
and it will find the latest version by itself.
#[must_use]pub fn root_path(&self) -> &Path
[src]
The contents of the studio directory are inconsistent across platforms. Please use a dedicated method (like application_path) or file a feature request if one does not exist.
#[must_use]pub fn application_path(&self) -> &Path
[src]
Path to the Roblox Studio executable
#[must_use]pub fn content_path(&self) -> &Path
[src]
Path to the content directory
#[must_use]pub fn exe_path(&self) -> PathBuf
[src]
Please use application_path instead.
#[must_use]pub fn built_in_plugins_path(&self) -> &Path
[src]
Path to built-in plugins directory
#[must_use]pub fn plugins_path(&self) -> &Path
[src]
Path to the user’s plugin directory. This directory may NOT exist if the Roblox Studio
user has never opened it from Roblox Studio Plugins Folder
button.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RobloxStudio
impl Send for RobloxStudio
impl Sync for RobloxStudio
impl Unpin for RobloxStudio
impl UnwindSafe for RobloxStudio
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,