#[repr(C)]pub struct NodeAppMetadata {
pub api_version: u32,
pub name: *const c_char,
pub version: *const c_char,
pub author: *const c_char,
pub description: *const c_char,
pub capabilities: u32,
}Expand description
App metadata returned by the entry point function
Fields§
§api_version: u32API version (must match host API_VERSION)
name: *const c_charApp name (null-terminated UTF-8 string, owned by app)
version: *const c_charApp version (null-terminated UTF-8 string, owned by app)
Author (null-terminated UTF-8 string, owned by app)
description: *const c_charDescription (null-terminated UTF-8 string, owned by app)
capabilities: u32Capability flags (bitwise OR of Capabilities values)
Trait Implementations§
impl Send for NodeAppMetadata
impl Sync for NodeAppMetadata
Auto Trait Implementations§
impl Freeze for NodeAppMetadata
impl RefUnwindSafe for NodeAppMetadata
impl Unpin for NodeAppMetadata
impl UnsafeUnpin for NodeAppMetadata
impl UnwindSafe for NodeAppMetadata
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