Struct r3::sync::source::TakeBindSource
source · pub struct TakeBindSource<'pool, System, T>(_);
Available on crate feature
sync
only.Expand description
A Source
that consumes a user-provided binding.
Trait Implementations
sourceimpl<System, T> Source<System> for TakeBindSource<'_, System, T>where
System: KernelBase + KernelStatic,
T: 'static + Send,
impl<System, T> Source<System> for TakeBindSource<'_, System, T>where
System: KernelBase + KernelStatic,
T: 'static + Send,
type Target = T
sourceconst fn into_unsafe_cell_hunk<C>(
self,
cfg: &mut Cfg<'_, C>
) -> Hunk<System, UnsafeCell<MaybeUninit<Self::Target>>>where
C: CfgBase<System = System>,
const fn into_unsafe_cell_hunk<C>(
self,
cfg: &mut Cfg<'_, C>
) -> Hunk<System, UnsafeCell<MaybeUninit<Self::Target>>>where
C: CfgBase<System = System>,
Construct a
Hunk
to store the value. Read moreAuto Trait Implementations
impl<'pool, System, T> !RefUnwindSafe for TakeBindSource<'pool, System, T>
impl<'pool, System, T> !Send for TakeBindSource<'pool, System, T>
impl<'pool, System, T> !Sync for TakeBindSource<'pool, System, T>
impl<'pool, System, T> Unpin for TakeBindSource<'pool, System, T>where
System: Unpin,
impl<'pool, System, T> !UnwindSafe for TakeBindSource<'pool, System, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more