pub struct PluginSection {
pub crate_name: String,
pub features: Vec<String>,
pub kind: LibraryKind,
}Fields§
§crate_name: StringCargo package, a cdylib member of the plugin’s Rust/.
features: Vec<String>Extra cargo features to build it with.
kind: LibraryKindWhere the library runs: in games and the editor, or in the editor only. It is the type of the plugin’s C++ module.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PluginSection
impl<'de> Deserialize<'de> for PluginSection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PluginSection
impl RefUnwindSafe for PluginSection
impl Send for PluginSection
impl Sync for PluginSection
impl Unpin for PluginSection
impl UnsafeUnpin for PluginSection
impl UnwindSafe for PluginSection
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