Struct composable::effects::Scoped
source · pub struct Scoped<Parent, Child>(/* private fields */);
Expand description
Trait Implementations§
source§impl<Parent, Child> Effects for Scoped<Parent, Child>
impl<Parent, Child> Effects for Scoped<Parent, Child>
source§fn future<F: Future<Output = Option<<Self as Effects>::Action>> + 'static>(
&self,
future: F,
)
fn future<F: Future<Output = Option<<Self as Effects>::Action>> + 'static>( &self, future: F, )
Auto Trait Implementations§
impl<Parent, Child> Freeze for Scoped<Parent, Child>where
Parent: Freeze,
impl<Parent, Child> RefUnwindSafe for Scoped<Parent, Child>where
Parent: RefUnwindSafe,
Child: RefUnwindSafe,
impl<Parent, Child> Send for Scoped<Parent, Child>
impl<Parent, Child> Sync for Scoped<Parent, Child>
impl<Parent, Child> Unpin for Scoped<Parent, Child>
impl<Parent, Child> UnwindSafe for Scoped<Parent, Child>where
Parent: UnwindSafe,
Child: UnwindSafe,
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)