#[repr(C)]pub enum OsCondition {
Any = 0,
Apple = 1,
MacOS = 2,
IOS = 3,
Linux = 4,
Windows = 5,
Android = 6,
Web = 7,
}Variants§
Implementations§
Source§impl OsCondition
impl OsCondition
Sourcepub fn from_system_platform(platform: &Platform) -> Self
pub fn from_system_platform(platform: &Platform) -> Self
Convert from css::system::Platform
Trait Implementations§
Source§impl Clone for OsCondition
impl Clone for OsCondition
Source§fn clone(&self) -> OsCondition
fn clone(&self) -> OsCondition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OsCondition
impl Debug for OsCondition
Source§impl Hash for OsCondition
impl Hash for OsCondition
Source§impl PartialEq for OsCondition
impl PartialEq for OsCondition
impl Copy for OsCondition
impl Eq for OsCondition
impl StructuralPartialEq for OsCondition
Auto Trait Implementations§
impl Freeze for OsCondition
impl RefUnwindSafe for OsCondition
impl Send for OsCondition
impl Sync for OsCondition
impl Unpin for OsCondition
impl UnwindSafe for OsCondition
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