pub struct LlmToolsPluginFactory { /* private fields */ }Implementations§
Source§impl LlmToolsPluginFactory
impl LlmToolsPluginFactory
pub fn with_model( self, model: impl Into<String>, model_variant: Option<String>, ) -> Self
pub fn with_model_variant(self, model_variant: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for LlmToolsPluginFactory
impl Clone for LlmToolsPluginFactory
Source§fn clone(&self) -> LlmToolsPluginFactory
fn clone(&self) -> LlmToolsPluginFactory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LlmToolsPluginFactory
impl Debug for LlmToolsPluginFactory
Source§impl Default for LlmToolsPluginFactory
impl Default for LlmToolsPluginFactory
Source§fn default() -> LlmToolsPluginFactory
fn default() -> LlmToolsPluginFactory
Returns the “default value” for a type. Read more
Source§impl PluginFactory for LlmToolsPluginFactory
impl PluginFactory for LlmToolsPluginFactory
fn id(&self) -> &'static str
Source§fn build(
&self,
ctx: &PluginSessionContext,
) -> Result<Arc<dyn SessionPlugin>, PluginError>
fn build( &self, ctx: &PluginSessionContext, ) -> Result<Arc<dyn SessionPlugin>, PluginError>
Produce a session-scoped plugin. Must be cheap — see the
trait-level docs for the full contract.
fn lashlang_abilities(&self) -> LashlangAbilities
fn lashlang_language_features(&self) -> LashlangLanguageFeatures
Source§fn lashlang_resources(&self) -> LashlangHostCatalog
fn lashlang_resources(&self) -> LashlangHostCatalog
Host-owned Lashlang catalog entries that code may link against. Read more
Auto Trait Implementations§
impl Freeze for LlmToolsPluginFactory
impl RefUnwindSafe for LlmToolsPluginFactory
impl Send for LlmToolsPluginFactory
impl Sync for LlmToolsPluginFactory
impl Unpin for LlmToolsPluginFactory
impl UnsafeUnpin for LlmToolsPluginFactory
impl UnwindSafe for LlmToolsPluginFactory
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