Struct scope_lock::Extender
source · pub struct Extender<'scope, 'env> { /* private fields */ }
Implementations§
source§impl<'scope, 'env> Extender<'scope, 'env>
impl<'scope, 'env> Extender<'scope, 'env>
pub fn extend_fn<F, I, O>(&'scope self, f: &'scope F) -> ExtendedFn<I, O>
pub fn extend_fn_box<F, I, O>( &'scope self, f: F ) -> Box<dyn Fn(I) -> O + Send + Sync>
pub fn extend_fn_mut<F, I, O>( &'scope self, f: &'scope mut F ) -> ExtendedFnMut<I, O>
pub fn extend_fn_mut_box<F, I, O>( &'scope self, f: F ) -> Box<dyn FnMut(I) -> O + Send>
pub fn extend_fn_once<F, I, O>( &'scope self, f: RefOnce<'scope, F> ) -> ExtendedFnOnce<I, O>
pub fn extend_fn_once_box<F, I, O>( &'scope self, f: F ) -> Box<dyn FnOnce(I) -> O + Send>
Auto Trait Implementations§
impl<'scope, 'env> Freeze for Extender<'scope, 'env>
impl<'scope, 'env> !RefUnwindSafe for Extender<'scope, 'env>
impl<'scope, 'env> Send for Extender<'scope, 'env>
impl<'scope, 'env> Sync for Extender<'scope, 'env>
impl<'scope, 'env> Unpin for Extender<'scope, 'env>
impl<'scope, 'env> !UnwindSafe for Extender<'scope, 'env>
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