pub struct Platform {
pub key: &'static str,
pub target: &'static str,
/* private fields */
}Expand description
A platform a napi port ships a binary for: the npm key napi-rs uses, the Rust target, and the runner that builds it.
Fields§
§key: &'static str§target: &'static strAuto Trait Implementations§
impl Forget for Platform
impl Freeze for Platform
impl Move for Platform
impl RefUnwindSafe for Platform
impl Send for Platform
impl Sync for Platform
impl Unpin for Platform
impl UnsafeUnpin for Platform
impl UnwindSafe for Platform
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