Struct roblox_install::RobloxStudio[][src]

#[must_use]pub struct RobloxStudio { /* fields omitted */ }

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]

👎 Deprecated since 0.2.0:

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]

👎 Deprecated since 0.2.0:

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

impl Debug for RobloxStudio[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.