pub struct RegisteredBox { /* private fields */ }Expand description
One box registered in a composition draft.
This typed token lets application code connect and expose a box without repeating its string identity or walking its implementation descriptor.
Implementations§
Trait Implementations§
Source§impl Clone for RegisteredBox
impl Clone for RegisteredBox
Source§fn clone(&self) -> RegisteredBox
fn clone(&self) -> RegisteredBox
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RegisteredBox
impl RefUnwindSafe for RegisteredBox
impl Send for RegisteredBox
impl Sync for RegisteredBox
impl Unpin for RegisteredBox
impl UnsafeUnpin for RegisteredBox
impl UnwindSafe for RegisteredBox
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