Struct dep_obj::binding::HandledSource
source · [−]pub struct HandledSource {
pub handler_id: Box<dyn HandlerId>,
pub init: Option<Box<dyn FnOnce(&mut dyn State)>>,
}
Expand description
The Source::handle
method result.
Fields
handler_id: Box<dyn HandlerId>
init: Option<Box<dyn FnOnce(&mut dyn State)>>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for HandledSource
impl !Send for HandledSource
impl !Sync for HandledSource
impl Unpin for HandledSource
impl !UnwindSafe for HandledSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more