Struct Plugin Metadata
pub struct PluginMetadata {
pub id: CString,
pub name: CString,
pub vendor: Option<CString>,
pub version: Option<CString>,
pub features: Vec<CString>,
}Expand description
Owned, byte-preserving native descriptor data. Display text need not be UTF-8.
Fields§
§id: CString§name: CString§vendor: Option<CString>§version: Option<CString>§features: Vec<CString>Trait Implementations§
§impl Clone for PluginMetadata
impl Clone for PluginMetadata
§fn clone(&self) -> PluginMetadata
fn clone(&self) -> PluginMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PluginMetadata
impl RefUnwindSafe for PluginMetadata
impl Send for PluginMetadata
impl Sync for PluginMetadata
impl Unpin for PluginMetadata
impl UnsafeUnpin for PluginMetadata
impl UnwindSafe for PluginMetadata
Blanket Implementations§
impl<T> AutoreleaseSafe for T
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more