pub struct BeanWrapper { /* private fields */ }Expand description
a wrapper for Arc<dyn Any +Send +Sync>, to store helper data
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for BeanWrapper
impl !RefUnwindSafe for BeanWrapper
impl Send for BeanWrapper
impl Sync for BeanWrapper
impl Unpin for BeanWrapper
impl !UnwindSafe for BeanWrapper
Blanket Implementations§
Source§impl<T> BeanTypeOf<T> for T
impl<T> BeanTypeOf<T> for T
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