Enum makepad_widgets::OsType
pub enum OsType {
Unknown,
Windows,
Macos,
Ios,
Android(AndroidParams),
LinuxWindow(LinuxWindowParams),
LinuxDirect,
Web(WebParams),
}
Variants§
Unknown
Windows
Macos
Ios
Android(AndroidParams)
LinuxWindow(LinuxWindowParams)
LinuxDirect
Web(WebParams)
Implementations§
§impl OsType
impl OsType
pub fn is_single_window(&self) -> bool
pub fn is_web(&self) -> bool
pub fn get_cache_dir(&self) -> Option<String>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for OsType
impl Send for OsType
impl Sync for OsType
impl Unpin for OsType
impl UnwindSafe for OsType
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