Struct webui::UseQueueHandle
source · [−]pub struct UseQueueHandle<T> { /* private fields */ }Expand description
State handle for the use_queue hook.
Implementations
sourceimpl<T> UseQueueHandle<T>
impl<T> UseQueueHandle<T>
sourcepub fn push_back(&self, value: T)where
T: Eq + Hash,
pub fn push_back(&self, value: T)where
T: Eq + Hash,
Appends an element to the back of the queue.
sourcepub fn pop_front(&self) -> Option<T>where
T: Eq + Hash,
pub fn pop_front(&self) -> Option<T>where
T: Eq + Hash,
Removes the first element and returns it, or None if the queue is empty.
Trait Implementations
sourceimpl<T> Clone for UseQueueHandle<T>
impl<T> Clone for UseQueueHandle<T>
sourcefn clone(&self) -> UseQueueHandle<T>
fn clone(&self) -> UseQueueHandle<T>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<T> PartialEq<UseQueueHandle<T>> for UseQueueHandle<T>where
T: Eq + Hash,
impl<T> PartialEq<UseQueueHandle<T>> for UseQueueHandle<T>where
T: Eq + Hash,
sourcefn eq(&self, other: &UseQueueHandle<T>) -> bool
fn eq(&self, other: &UseQueueHandle<T>) -> bool
Auto Trait Implementations
impl<T> !RefUnwindSafe for UseQueueHandle<T>
impl<T> !Send for UseQueueHandle<T>
impl<T> !Sync for UseQueueHandle<T>
impl<T> Unpin for UseQueueHandle<T>
impl<T> !UnwindSafe for UseQueueHandle<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
sourcefn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
sourceimpl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
sourcefn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.sourceimpl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
sourcefn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;where
S: Into<Dispatch>,
T: Future, type Output = <T as Future>::Output;
sourcefn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;