#[repr(C)]pub struct PluginInfo {
pub name: *const i8,
pub version: *const i8,
pub plugin_type: PluginType,
pub description: *const i8,
}Expand description
Plugin metadata returned by shape_plugin_info()
Fields§
§name: *const i8Plugin name (null-terminated C string)
version: *const i8Plugin version (null-terminated C string, semver format)
plugin_type: PluginTypeType of plugin
description: *const i8Human-readable description (null-terminated C string)
Trait Implementations§
impl Sync for PluginInfo
Auto Trait Implementations§
impl Freeze for PluginInfo
impl RefUnwindSafe for PluginInfo
impl !Send for PluginInfo
impl Unpin for PluginInfo
impl UnsafeUnpin 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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more