pub struct NotificationPriorityBackend;Expand description
Rank candidates by notification priority heuristics.
Trait Implementations§
Source§impl NextAppPredictor for NotificationPriorityBackend
impl NextAppPredictor for NotificationPriorityBackend
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 NotificationPriorityBackend
impl RefUnwindSafe for NotificationPriorityBackend
impl Send for NotificationPriorityBackend
impl Sync for NotificationPriorityBackend
impl Unpin for NotificationPriorityBackend
impl UnsafeUnpin for NotificationPriorityBackend
impl UnwindSafe for NotificationPriorityBackend
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