pub struct PerPlatform {
pub darwin: Option<String>,
pub windows: Option<String>,
}Fields§
§darwin: Option<String>§windows: Option<String>Implementations§
Source§impl PerPlatform
impl PerPlatform
pub fn for_current(&self) -> Result<Option<&str>>
Trait Implementations§
Source§impl Clone for PerPlatform
impl Clone for PerPlatform
Source§impl Debug for PerPlatform
impl Debug for PerPlatform
Source§impl Default for PerPlatform
impl Default for PerPlatform
Source§impl<'de> Deserialize<'de> for PerPlatform
impl<'de> Deserialize<'de> for PerPlatform
Source§fn 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
Auto Trait Implementations§
impl Freeze for PerPlatform
impl RefUnwindSafe for PerPlatform
impl Send for PerPlatform
impl Sync for PerPlatform
impl Unpin for PerPlatform
impl UnsafeUnpin for PerPlatform
impl UnwindSafe for PerPlatform
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