#[repr(C)]pub struct NrPluginInfo {
pub abi_version: u32,
pub struct_size: u32,
pub name: NrStr,
pub version: NrStr,
pub plugin_ctx: *mut c_void,
pub vtable: *const NrPluginVTable,
}Expand description
Metadata exported by the plugin through nylon_ring_get_plugin.
Fields§
§abi_version: u32§struct_size: u32§name: NrStr§version: NrStr§plugin_ctx: *mut c_void§vtable: *const NrPluginVTableImplementations§
Source§impl NrPluginInfo
impl NrPluginInfo
pub fn compatible(&self, expected_abi_version: u32) -> bool
Trait Implementations§
Source§impl Clone for NrPluginInfo
impl Clone for NrPluginInfo
Source§fn clone(&self) -> NrPluginInfo
fn clone(&self) -> NrPluginInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NrPluginInfo
Source§impl Debug for NrPluginInfo
impl Debug for NrPluginInfo
impl Send for NrPluginInfo
impl Sync for NrPluginInfo
Auto Trait Implementations§
impl Freeze for NrPluginInfo
impl RefUnwindSafe for NrPluginInfo
impl Unpin for NrPluginInfo
impl UnsafeUnpin for NrPluginInfo
impl UnwindSafe for NrPluginInfo
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