pub struct AlwaysNoOpBackend;Expand description
Always predict nothing (empty ranked list) — the simplest NoOp baseline.
Trait Implementations§
Source§impl NextAppPredictor for AlwaysNoOpBackend
impl NextAppPredictor for AlwaysNoOpBackend
fn name(&self) -> &'static str
fn predict( &self, _ctx: &StructuredContext, _current_app: &str, _candidates: &[String], ) -> PredictionResult
fn train(&mut self, _train: &[NextAppLabel])
Auto Trait Implementations§
impl Freeze for AlwaysNoOpBackend
impl RefUnwindSafe for AlwaysNoOpBackend
impl Send for AlwaysNoOpBackend
impl Sync for AlwaysNoOpBackend
impl Unpin for AlwaysNoOpBackend
impl UnsafeUnpin for AlwaysNoOpBackend
impl UnwindSafe for AlwaysNoOpBackend
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