pub struct AiSystem { /* private fields */ }Expand description
The AI system that manages and runs AI models
Implementations§
Source§impl AiSystem
impl AiSystem
Sourcepub fn model_count(&self) -> usize
pub fn model_count(&self) -> usize
Get model count
Sourcepub fn unload_model(&mut self, id: &str) -> bool
pub fn unload_model(&mut self, id: &str) -> bool
Remove a model
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AiSystem
impl RefUnwindSafe for AiSystem
impl Send for AiSystem
impl Sync for AiSystem
impl Unpin for AiSystem
impl UnwindSafe for AiSystem
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