pub struct Inbox { /* private fields */ }Expand description
O lado da tela.
Implementations§
Source§impl Inbox
impl Inbox
Sourcepub fn drain(
&mut self,
ui: &mut Ui,
budget: Duration,
reply: impl FnMut(Value),
) -> Drain
pub fn drain( &mut self, ui: &mut Ui, budget: Duration, reply: impl FnMut(Value), ) -> Drain
Trata as mensagens até a fila esvaziar ou o budget acabar; cada resposta vai para
reply. Com Drain::More, quem chama acorda a tela de novo depois de pintar.
Sourcepub fn longest_round(&self) -> usize
pub fn longest_round(&self) -> usize
O maior número de mensagens tratado numa rodada (para as medições).
Auto Trait Implementations§
impl !Sync for Inbox
impl Forget for Inbox
impl Freeze for Inbox
impl Move for Inbox
impl RefUnwindSafe for Inbox
impl Send for Inbox
impl Unpin for Inbox
impl UnsafeUnpin for Inboxwhere
*mut Counter<Channel<Value>>: UnsafeUnpin,
*mut Counter<Channel<Value>>: UnsafeUnpin,
*mut Counter<Channel<Value>>: UnsafeUnpin,
*const ArcInner<Atomic<bool>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Atomic<bool>>>: UnsafeUnpin,
impl UnwindSafe for Inbox
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
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
impl<F, T> IntoSample<T> for Fwhere
T: FromSample<F>,
fn into_sample(self) -> T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.