pub struct ServiceRef<D: ?Sized>(/* private fields */);Expand description
A reference to a provider service (files, skills, batch, realtime factory): always resolved.
Implementations§
Trait Implementations§
Source§impl<D: ?Sized> Clone for ServiceRef<D>
impl<D: ?Sized> Clone for ServiceRef<D>
Source§impl<D: ?Sized> Debug for ServiceRef<D>
impl<D: ?Sized> Debug for ServiceRef<D>
Source§impl<D: ?Sized> Deref for ServiceRef<D>
impl<D: ?Sized> Deref for ServiceRef<D>
Auto Trait Implementations§
impl<D> Freeze for ServiceRef<D>
impl<D> RefUnwindSafe for ServiceRef<D>
impl<D> Send for ServiceRef<D>
impl<D> Sync for ServiceRef<D>
impl<D> Unpin for ServiceRef<D>
impl<D> UnsafeUnpin for ServiceRef<D>
impl<D> UnwindSafe for ServiceRef<D>
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