#[repr(C)]pub struct PluginInfo {
pub infoVersion: u32,
pub name: *const c_char,
pub version: u32,
}
Expand description
Structure representing the information about a plugin.
Fields§
§infoVersion: u32
The version of the plugin information structure.
name: *const c_char
A pointer to a C-style string containing the plugin’s name.
version: u32
The version of the plugin.
Implementations§
Trait Implementations§
Source§impl Clone for PluginInfo
impl Clone for PluginInfo
Source§fn clone(&self) -> PluginInfo
fn clone(&self) -> PluginInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PluginInfo
impl Debug for PluginInfo
Source§impl Default for PluginInfo
impl Default for PluginInfo
Source§impl Hash for PluginInfo
impl Hash for PluginInfo
Source§impl Ord for PluginInfo
impl Ord for PluginInfo
Source§fn cmp(&self, other: &PluginInfo) -> Ordering
fn cmp(&self, other: &PluginInfo) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PluginInfo
impl PartialEq for PluginInfo
Source§impl PartialOrd for PluginInfo
impl PartialOrd for PluginInfo
impl Eq for PluginInfo
impl StructuralPartialEq for PluginInfo
Auto Trait Implementations§
impl Freeze for PluginInfo
impl RefUnwindSafe for PluginInfo
impl !Send for PluginInfo
impl !Sync for PluginInfo
impl Unpin for PluginInfo
impl UnwindSafe for PluginInfo
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