pub struct Platforms {
pub windows: bool,
pub macos: bool,
pub linux: bool,
}Expand description
Which platforms a variable is set on.
Fields§
§windows: bool§macos: bool§linux: boolImplementations§
Trait Implementations§
impl Copy for Platforms
impl Eq for Platforms
impl StructuralPartialEq for Platforms
Auto Trait Implementations§
impl Forget for Platforms
impl Freeze for Platforms
impl RefUnwindSafe for Platforms
impl Send for Platforms
impl Sync for Platforms
impl Unpin for Platforms
impl UnsafeUnpin for Platforms
impl UnwindSafe for Platforms
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