pub struct DispenserHandle(pub Arc<dyn Dispenser>);Expand description
Wrapper for Arc
Tuple Fields§
§0: Arc<dyn Dispenser>Trait Implementations§
Source§impl Clone for DispenserHandle
impl Clone for DispenserHandle
Source§fn clone(&self) -> DispenserHandle
fn clone(&self) -> DispenserHandle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DispenserHandle
impl Debug for DispenserHandle
Auto Trait Implementations§
impl Freeze for DispenserHandle
impl !RefUnwindSafe for DispenserHandle
impl Send for DispenserHandle
impl Sync for DispenserHandle
impl Unpin for DispenserHandle
impl UnsafeUnpin for DispenserHandle
impl !UnwindSafe for DispenserHandle
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