pub struct Resolved;Expand description
Marker type for handlers whose parameters are already resolved.
Used by the blanket IntoHandler impl for any Handler<E>.
Enables passing already-built pipelines, templates, callbacks, and
Box<dyn Handler<E>> where IntoHandler is expected.
The registry argument to IntoHandler::into_handler is ignored —
the handler’s parameters were resolved against the registry it was
originally built with. Callers must ensure the handler is run against
the same World it was resolved for.
When returning a resolved handler from a factory function, the Rust
2024 + use<...> annotation applies — see IntoHandler docs.
Users never need to name this type — it’s inferred automatically.
Auto Trait Implementations§
impl Freeze for Resolved
impl RefUnwindSafe for Resolved
impl Send for Resolved
impl Sync for Resolved
impl Unpin for Resolved
impl UnsafeUnpin for Resolved
impl UnwindSafe for Resolved
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