#[repr(C)]pub struct PluginDecl {
pub api_version: u32,
pub name: *const c_char,
pub version: *const c_char,
pub required_capabilities: u32,
}Expand description
Plugin metadata returned by yosh_plugin_decl().
Fields§
§api_version: u32§name: *const c_char§version: *const c_char§required_capabilities: u32Trait Implementations§
impl Send for PluginDecl
impl Sync for PluginDecl
Auto Trait Implementations§
impl Freeze for PluginDecl
impl RefUnwindSafe for PluginDecl
impl Unpin for PluginDecl
impl UnsafeUnpin for PluginDecl
impl UnwindSafe for PluginDecl
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