Struct Scope

struct Scope<'scope> { ... }

Implementations

impl<'scope> Scope<'scope>

fn spawn<BODY>(self: &Self, body: BODY)
where
    BODY: FnOnce(&Scope<'scope>) + Send + 'scope

impl<'scope> Freeze for Scope<'scope>

impl<'scope> RefUnwindSafe for Scope<'scope>

impl<'scope> Send for Scope<'scope>

impl<'scope> Sync for Scope<'scope>

impl<'scope> Unpin for Scope<'scope>

impl<'scope> UnsafeUnpin for Scope<'scope>

impl<'scope> UnwindSafe for Scope<'scope>

impl<T> Any for Scope<'scope>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for Scope<'scope>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for Scope<'scope>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for Scope<'scope>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for Scope<'scope>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for Scope<'scope>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for Scope<'scope>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>