Enum using_queue::GetAction
source · [−]pub enum GetAction {
Take,
Clone,
}
Expand description
Take an item or just clone it?
Variants
Take
Remove the item, faster but you can’t get it back.
Clone
Clone the item, slower but you can get it again.
Auto Trait Implementations
impl RefUnwindSafe for GetAction
impl Send for GetAction
impl Sync for GetAction
impl Unpin for GetAction
impl UnwindSafe for GetAction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more