pub struct OsConfig {
pub homedir: String,
pub tmpdir: String,
pub platform: String,
pub arch: String,
}Expand description
OS configuration injected into the V8 global as _osConfig
Fields§
§homedir: String§tmpdir: String§platform: String§arch: StringTrait Implementations§
impl StructuralPartialEq for OsConfig
Auto Trait Implementations§
impl Freeze for OsConfig
impl RefUnwindSafe for OsConfig
impl Send for OsConfig
impl Sync for OsConfig
impl Unpin for OsConfig
impl UnsafeUnpin for OsConfig
impl UnwindSafe for OsConfig
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