pub struct Extension {
pub name: String,
pub wasm_module: Option<String>,
pub prewarm: Vec<String>,
}Expand description
Extension-level metadata within a Manifest.
Fields§
§name: StringExtension name; must be a valid ASCII identifier. Used to derive the
Python module name (_<name>), generated file names, and host class
names.
wasm_module: Option<String>WASM import module the host functions are linked under. Defaults to
name when absent.
prewarm: Vec<String>Python modules to import eagerly during Wizer pre-initialization.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Extension
impl<'de> Deserialize<'de> for Extension
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
impl StructuralPartialEq for Extension
Auto Trait Implementations§
impl Freeze for Extension
impl RefUnwindSafe for Extension
impl Send for Extension
impl Sync for Extension
impl Unpin for Extension
impl UnwindSafe for Extension
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