pub struct LibraryInfo {
pub name: String,
pub version: String,
pub description: String,
pub features: Vec<String>,
}Expand description
Library information
Fields§
§name: String§version: String§description: String§features: Vec<String>Trait Implementations§
Source§impl FromNapiValue for LibraryInfo
impl FromNapiValue for LibraryInfo
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl ToNapiValue for LibraryInfo
impl ToNapiValue for LibraryInfo
Source§unsafe fn to_napi_value(env: napi_env, val: LibraryInfo) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: LibraryInfo) -> Result<napi_value>
Safety Read more
Source§impl TypeName for LibraryInfo
impl TypeName for LibraryInfo
Source§impl ValidateNapiValue for LibraryInfo
impl ValidateNapiValue for LibraryInfo
Source§unsafe fn validate(
env: *mut napi_env__,
napi_val: *mut napi_value__,
) -> Result<*mut napi_value__, Error>
unsafe fn validate( env: *mut napi_env__, napi_val: *mut napi_value__, ) -> Result<*mut napi_value__, Error>
Safety Read more
Auto Trait Implementations§
impl Freeze for LibraryInfo
impl RefUnwindSafe for LibraryInfo
impl Send for LibraryInfo
impl Sync for LibraryInfo
impl Unpin for LibraryInfo
impl UnsafeUnpin for LibraryInfo
impl UnwindSafe for LibraryInfo
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