pub struct Announcement {
pub text: String,
pub live: Live,
}Expand description
One thing to say once, with no node behind it: “Saved”, “3 results”.
Queued by Core::announce and drained by Core::take_announcements,
the way window commands, audio commands and warnings are: an
announcement is an event on a timeline, and the frame’s tree has no
place to keep one.
Fields§
§text: String§live: LiveNever Live::Off: Core::announce drops those rather than
queueing something no reader would say.
Trait Implementations§
Source§impl Clone for Announcement
impl Clone for Announcement
Source§impl Debug for Announcement
impl Debug for Announcement
impl Eq for Announcement
Source§impl PartialEq for Announcement
impl PartialEq for Announcement
impl StructuralPartialEq for Announcement
Auto Trait Implementations§
impl Freeze for Announcement
impl RefUnwindSafe for Announcement
impl Send for Announcement
impl Sync for Announcement
impl Unpin for Announcement
impl UnsafeUnpin for Announcement
impl UnwindSafe for Announcement
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.