pub struct InjectionStore;Expand description
Zero-sized placeholder so Engine::injection_store survives
the #[derive(Default)] derivation when the feature is off.
Arc<InjectionStore> would still allocate; ()-sized
InjectionStore plus a wrapping core::marker::PhantomData
keeps the field at zero bytes.
Trait Implementations§
Source§impl Clone for InjectionStore
impl Clone for InjectionStore
Source§fn clone(&self) -> InjectionStore
fn clone(&self) -> InjectionStore
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 Debug for InjectionStore
impl Debug for InjectionStore
Source§impl Default for InjectionStore
impl Default for InjectionStore
Source§fn default() -> InjectionStore
fn default() -> InjectionStore
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InjectionStore
impl RefUnwindSafe for InjectionStore
impl Send for InjectionStore
impl Sync for InjectionStore
impl Unpin for InjectionStore
impl UnsafeUnpin for InjectionStore
impl UnwindSafe for InjectionStore
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