pub enum AsyncOrConst {
Async,
Const,
}Variants§
Trait Implementations§
Source§impl Clone for AsyncOrConst
impl Clone for AsyncOrConst
Source§fn clone(&self) -> AsyncOrConst
fn clone(&self) -> AsyncOrConst
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl TokenBuilderExtend for AsyncOrConst
impl TokenBuilderExtend for AsyncOrConst
fn add_to(&self, tb: &mut TokenBuilder)
Auto Trait Implementations§
impl Freeze for AsyncOrConst
impl RefUnwindSafe for AsyncOrConst
impl Send for AsyncOrConst
impl Sync for AsyncOrConst
impl Unpin for AsyncOrConst
impl UnsafeUnpin for AsyncOrConst
impl UnwindSafe for AsyncOrConst
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