pub enum Platform {
Windows,
Mac,
Linux,
iOS,
Android,
Unknown,
}Expand description
TODO: write this documentation
Variants§
Implementations§
Source§impl Platform
impl Platform
Sourcepub fn get_current() -> Platform
pub fn get_current() -> Platform
TODO: write this documentation
Sourcepub fn get_vendor(&self) -> PlatformVendor
pub fn get_vendor(&self) -> PlatformVendor
TODO: write this documentation
Trait Implementations§
Source§impl Ord for Platform
impl Ord for Platform
Source§impl PartialOrd for Platform
impl PartialOrd for Platform
impl Copy for Platform
impl Eq for Platform
impl StructuralPartialEq for Platform
Auto Trait Implementations§
impl Freeze for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnwindSafe for Platform
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