Struct xrust::transform::context::StaticContext
source · pub struct StaticContext<F>{ /* private fields */ }
Expand description
The static context. This is not clonable, since it includes the storage of a closure. The main feature of the static context is the ability to set up a callback for messages. See StaticContextBuilder for details.
Implementations§
Auto Trait Implementations§
impl<F> RefUnwindSafe for StaticContext<F>where
F: RefUnwindSafe,
impl<F> Send for StaticContext<F>where
F: Send,
impl<F> Sync for StaticContext<F>where
F: Sync,
impl<F> Unpin for StaticContext<F>where
F: Unpin,
impl<F> UnwindSafe for StaticContext<F>where
F: UnwindSafe,
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