pub struct SkillLibrary { /* private fields */ }Expand description
Library of learned skills.
Implementations§
Source§impl SkillLibrary
impl SkillLibrary
Sourcepub fn find_by_category(&self, category: &str) -> Vec<&Skill>
pub fn find_by_category(&self, category: &str) -> Vec<&Skill>
Find skills by category.
Sourcepub fn find_by_tag(&self, tag: &str) -> Vec<&Skill>
pub fn find_by_tag(&self, tag: &str) -> Vec<&Skill>
Find skills by tag.
Sourcepub fn search(&self, query: &str, limit: usize) -> Vec<&Skill>
pub fn search(&self, query: &str, limit: usize) -> Vec<&Skill>
Find skills matching a description (keyword search).
Sourcepub fn most_reliable(&self, limit: usize) -> Vec<&Skill>
pub fn most_reliable(&self, limit: usize) -> Vec<&Skill>
Get highest success rate skills.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SkillLibrary
impl RefUnwindSafe for SkillLibrary
impl Send for SkillLibrary
impl Sync for SkillLibrary
impl Unpin for SkillLibrary
impl UnsafeUnpin for SkillLibrary
impl UnwindSafe for SkillLibrary
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request