pub struct Instantiator { /* private fields */ }Expand description
Instantiates global data on creation and deinstantiates it on drop
This struct instantiates global data upon creation and deinstantiates it upon drop. It also is responsible for calling the writers when the data is collected.
Using instantiate! macro instead of this struct is recommened.
Implementations§
Source§impl Instantiator
impl Instantiator
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Instantiator
impl !RefUnwindSafe for Instantiator
impl !Send for Instantiator
impl !Sync for Instantiator
impl Unpin for Instantiator
impl !UnwindSafe for Instantiator
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