pub enum Component {
Show 41 variants
Language(Localization),
Editor,
Mono,
VisualStudio,
MonoDevelop,
Documentation,
StandardAssets,
ExampleProject,
Example,
Android,
AndroidSdkBuildTools,
AndroidSdkPlatforms,
AndroidSdkPlatformTools,
AndroidSdkNdkTools,
AndroidNdk,
AndroidOpenJdk,
Ios,
TvOs,
AppleTV,
WebGl,
Linux,
LinuxMono,
LinuxIL2CPP,
LinuxServer,
Mac,
MacIL2CPP,
MacMono,
MacServer,
Samsungtv,
SamsungTV,
Tizen,
Vuforia,
VuforiaAR,
Windows,
WindowsMono,
WindowsServer,
Facebook,
FacebookGames,
FacebookGameRoom,
Lumin,
Unknown,
}
Variants
Language(Localization)
Editor
Mono
VisualStudio
MonoDevelop
Documentation
StandardAssets
ExampleProject
Example
Android
AndroidSdkBuildTools
AndroidSdkPlatforms
AndroidSdkPlatformTools
AndroidSdkNdkTools
AndroidNdk
AndroidOpenJdk
Ios
TvOs
AppleTV
WebGl
Linux
LinuxMono
LinuxIL2CPP
LinuxServer
Mac
MacIL2CPP
MacMono
MacServer
Samsungtv
SamsungTV
Tizen
Vuforia
VuforiaAR
Windows
WindowsMono
WindowsServer
Facebook
FacebookGames
FacebookGameRoom
Lumin
Unknown
Implementations
sourceimpl Component
impl Component
pub fn iterator() -> Iter<'static, Component>
pub fn installpath(self) -> Option<PathBuf>
pub fn install_location(self) -> Option<PathBuf>
pub fn selected(self) -> bool
pub fn visible(self) -> bool
pub fn is_installed<P: AsRef<Path>>(self, unity_install_location: P) -> bool
pub fn category<V: AsRef<Version>>(self, version: V) -> Category
pub fn sync(self) -> Option<Component>
pub fn download_url<V: AsRef<Version>>(
self,
base_url: &DownloadURL,
download_url: &str,
version: V
) -> Option<Url>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Component
impl<'de> Deserialize<'de> for Component
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<Localization> for Component
impl From<Localization> for Component
sourcefn from(locale: Localization) -> Self
fn from(locale: Localization) -> Self
Converts to this type from the input type.
impl Copy for Component
impl Eq for Component
impl StructuralEq for Component
impl StructuralPartialEq for Component
Auto Trait Implementations
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnwindSafe for Component
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.