pub struct NoOpContextFactory;Expand description
Factory that always returns NoOpScriptContext.
Trait Implementations§
Source§impl Clone for NoOpContextFactory
impl Clone for NoOpContextFactory
Source§fn clone(&self) -> NoOpContextFactory
fn clone(&self) -> NoOpContextFactory
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 ContextFactory for NoOpContextFactory
impl ContextFactory for NoOpContextFactory
impl Copy for NoOpContextFactory
Source§impl Debug for NoOpContextFactory
impl Debug for NoOpContextFactory
Source§impl Default for NoOpContextFactory
impl Default for NoOpContextFactory
Source§fn default() -> NoOpContextFactory
fn default() -> NoOpContextFactory
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NoOpContextFactory
impl RefUnwindSafe for NoOpContextFactory
impl Send for NoOpContextFactory
impl Sync for NoOpContextFactory
impl Unpin for NoOpContextFactory
impl UnsafeUnpin for NoOpContextFactory
impl UnwindSafe for NoOpContextFactory
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