pub struct Object<T = ()> {
pub on_added_clean: Option<fn(_: &Rc<dyn Core>, _: &dyn CoreContext) -> StatusCode>,
/* private fields */
}
Fields§
§on_added_clean: Option<fn(_: &Rc<dyn Core>, _: &dyn CoreContext) -> StatusCode>
Implementations§
Trait Implementations§
impl<T> Eq for Object<T>
Auto Trait Implementations§
impl<T> Freeze for Object<T>
impl<T = ()> !RefUnwindSafe for Object<T>
impl<T = ()> !Send for Object<T>
impl<T = ()> !Sync for Object<T>
impl<T> Unpin for Object<T>where
T: Unpin,
impl<T = ()> !UnwindSafe for Object<T>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)