[−][src]Struct locklessness::handle::IdHandle
Implementations
impl<H: Handle, IdType> IdHandle<H, IdType> where
H::HandleInner: HandleInner<IdType>,
[src]
H::HandleInner: HandleInner<IdType>,
pub fn try_clone(&self) -> Option<Self>
[src]
pub fn new(handle: &H) -> Self
[src]
pub fn try_new(handle: &H) -> Option<Self>
[src]
pub fn id(&self) -> &IdType
[src]
pub fn with<R, F: FnOnce(&H::HandleInner) -> R>(&self, f: F) -> R
[src]
pub fn with_mut<R, F: FnOnce(&H::HandleInner, &mut IdType) -> R>(
&mut self,
f: F
) -> R
[src]
&mut self,
f: F
) -> R
Trait Implementations
impl<H: Handle, IdType> Clone for IdHandle<H, IdType> where
H::HandleInner: HandleInner<IdType>,
[src]
H::HandleInner: HandleInner<IdType>,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<H: Debug + Handle, IdType: Debug> Debug for IdHandle<H, IdType> where
H::HandleInner: HandleInner<IdType>,
[src]
H::HandleInner: HandleInner<IdType>,
impl<H: Handle, IdType> Drop for IdHandle<H, IdType> where
H::HandleInner: HandleInner<IdType>,
[src]
H::HandleInner: HandleInner<IdType>,
Auto Trait Implementations
impl<H, IdType> RefUnwindSafe for IdHandle<H, IdType> where
H: RefUnwindSafe,
IdType: RefUnwindSafe,
H: RefUnwindSafe,
IdType: RefUnwindSafe,
impl<H, IdType> Send for IdHandle<H, IdType> where
H: Send,
IdType: Send,
H: Send,
IdType: Send,
impl<H, IdType> Sync for IdHandle<H, IdType> where
H: Sync,
IdType: Sync,
H: Sync,
IdType: Sync,
impl<H, IdType> Unpin for IdHandle<H, IdType> where
H: Unpin,
IdType: Unpin,
H: Unpin,
IdType: Unpin,
impl<H, IdType> UnwindSafe for IdHandle<H, IdType> where
H: UnwindSafe,
IdType: UnwindSafe,
H: UnwindSafe,
IdType: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,