Struct fp_bindgen::RustPluginConfig
source · [−]pub struct RustPluginConfig<'a> {
pub name: &'a str,
pub authors: &'a str,
pub version: &'a str,
pub dependencies: BTreeMap<&'a str, CargoDependency>,
}
Fields
name: &'a str
Name of the plugin crate that will be generated.
Authors to be listed in the plugin crate that will be generated.
version: &'a str
Version of the plugin crate that will be generated.
dependencies: BTreeMap<&'a str, CargoDependency>
Additional dependencies to be listed in the plugin crate that will be generated.
These are merged with a small set of dependencies that are necessary for the plugin to work and which will always be included. Specifying these dependencies yourself can be useful if you want to explicitly bump a dependency version or you want to enable a Cargo feature in them.
Trait Implementations
sourceimpl<'a> Clone for RustPluginConfig<'a>
impl<'a> Clone for RustPluginConfig<'a>
sourcefn clone(&self) -> RustPluginConfig<'a>
fn clone(&self) -> RustPluginConfig<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for RustPluginConfig<'a>
impl<'a> Send for RustPluginConfig<'a>
impl<'a> Sync for RustPluginConfig<'a>
impl<'a> Unpin for RustPluginConfig<'a>
impl<'a> UnwindSafe for RustPluginConfig<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more