pub struct SkillInjector { /* private fields */ }Implementations§
Source§impl SkillInjector
impl SkillInjector
pub fn from_root( root: impl AsRef<Path>, config: SkillInjectorConfig, ) -> SkillResult<Self>
pub fn from_index(index: SkillIndex, config: SkillInjectorConfig) -> Self
pub fn index(&self) -> &SkillIndex
pub fn policy(&self) -> &SelectionPolicy
pub fn max_injected_chars(&self) -> usize
pub fn build_plugin(&self, name: impl Into<String>) -> Plugin
pub fn build_plugin_manager(&self, name: impl Into<String>) -> PluginManager
Trait Implementations§
Source§impl Clone for SkillInjector
impl Clone for SkillInjector
Source§fn clone(&self) -> SkillInjector
fn clone(&self) -> SkillInjector
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SkillInjector
impl RefUnwindSafe for SkillInjector
impl Send for SkillInjector
impl Sync for SkillInjector
impl Unpin for SkillInjector
impl UnsafeUnpin for SkillInjector
impl UnwindSafe for SkillInjector
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