pub struct CapturedCompositionContext { /* private fields */ }Expand description
The composition context inherited by work that is composed in another slot host. Besides composition locals, this carries the source owner scope so a secondary tree cannot outlive the composition that supplied its callbacks.
Trait Implementations§
Source§impl Clone for CapturedCompositionContext
impl Clone for CapturedCompositionContext
Source§fn clone(&self) -> CapturedCompositionContext
fn clone(&self) -> CapturedCompositionContext
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 !RefUnwindSafe for CapturedCompositionContext
impl !Send for CapturedCompositionContext
impl !Sync for CapturedCompositionContext
impl !UnwindSafe for CapturedCompositionContext
impl Freeze for CapturedCompositionContext
impl Unpin for CapturedCompositionContext
impl UnsafeUnpin for CapturedCompositionContext
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