#[repr(C)]pub struct NodeAppMetadata {
pub api_version: u32,
pub name: *const i8,
pub version: *const i8,
pub author: *const i8,
pub description: *const i8,
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 i8App name (null-terminated UTF-8 string, owned by app)
version: *const i8App version (null-terminated UTF-8 string, owned by app)
Author (null-terminated UTF-8 string, owned by app)
description: *const i8Description (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