pub struct BoxedComponent<T: ?Sized>(pub Box<T>);
Tuple Fields§
§0: Box<T>
Trait Implementations§
Source§impl<T: ?Sized + AsyncComponent> AsyncComponent for BoxedComponent<T>
impl<T: ?Sized + AsyncComponent> AsyncComponent for BoxedComponent<T>
fn update_component(&mut self)
Source§impl<T: ?Sized> Deref for BoxedComponent<T>
impl<T: ?Sized> Deref for BoxedComponent<T>
Auto Trait Implementations§
impl<T> Freeze for BoxedComponent<T>where
T: ?Sized,
impl<T> RefUnwindSafe for BoxedComponent<T>where
T: RefUnwindSafe + ?Sized,
impl<T> Send for BoxedComponent<T>
impl<T> Sync for BoxedComponent<T>
impl<T> Unpin for BoxedComponent<T>where
T: ?Sized,
impl<T> UnwindSafe for BoxedComponent<T>where
T: UnwindSafe + ?Sized,
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