pub struct CompiledPluginParts {
pub id: String,
pub path: PathBuf,
pub ast: AST,
pub declared_deps: Vec<String>,
}Expand description
Owned-by-value view of a CompiledPlugin’s fields, returned by
CompiledPlugin::into_parts. Pure transport DTO — the
non-empty-id and status-first-dep invariants compile_plugin
enforces are implicit on the values, but this struct doesn’t
re-check them since callers can only obtain it by consuming a
registry-built CompiledPlugin.
Fields§
§id: String§path: PathBuf§ast: AST§declared_deps: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompiledPluginParts
impl !RefUnwindSafe for CompiledPluginParts
impl Send for CompiledPluginParts
impl Sync for CompiledPluginParts
impl Unpin for CompiledPluginParts
impl UnsafeUnpin for CompiledPluginParts
impl !UnwindSafe for CompiledPluginParts
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