pub struct RecentNotificationBackend;Expand description
Predict the app that most recently posted a notification.
Trait Implementations§
Source§impl NextAppPredictor for RecentNotificationBackend
impl NextAppPredictor for RecentNotificationBackend
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 RecentNotificationBackend
impl RefUnwindSafe for RecentNotificationBackend
impl Send for RecentNotificationBackend
impl Sync for RecentNotificationBackend
impl Unpin for RecentNotificationBackend
impl UnsafeUnpin for RecentNotificationBackend
impl UnwindSafe for RecentNotificationBackend
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