[][src]Struct intrusive_collections::DefaultPointerOps

pub struct DefaultPointerOps<Pointer>(_);

The PointerOps type used by an Adapter generated by intrusive_adapter!.

Implementations

impl<Pointer> DefaultPointerOps<Pointer>[src]

pub const fn new() -> DefaultPointerOps<Pointer>[src]

Constructs an instance of DefaultPointerOps.

Trait Implementations

impl<Pointer> Clone for DefaultPointerOps<Pointer>[src]

impl<Pointer> Copy for DefaultPointerOps<Pointer>[src]

impl<Pointer> Default for DefaultPointerOps<Pointer>[src]

impl<'a, T: ?Sized> PointerOps for DefaultPointerOps<&'a T>[src]

type Value = T

Object type which is inserted into an intrusive collection.

type Pointer = &'a T

Pointer type which owns an instance of a value.

impl<T: ?Sized> PointerOps for DefaultPointerOps<UnsafeRef<T>>[src]

type Value = T

Object type which is inserted into an intrusive collection.

type Pointer = UnsafeRef<T>

Pointer type which owns an instance of a value.

impl<T: ?Sized> PointerOps for DefaultPointerOps<Box<T>>[src]

type Value = T

Object type which is inserted into an intrusive collection.

type Pointer = Box<T>

Pointer type which owns an instance of a value.

impl<T: ?Sized> PointerOps for DefaultPointerOps<Rc<T>>[src]

type Value = T

Object type which is inserted into an intrusive collection.

type Pointer = Rc<T>

Pointer type which owns an instance of a value.

impl<T: ?Sized> PointerOps for DefaultPointerOps<Arc<T>>[src]

type Value = T

Object type which is inserted into an intrusive collection.

type Pointer = Arc<T>

Pointer type which owns an instance of a value.

Auto Trait Implementations

impl<Pointer> Send for DefaultPointerOps<Pointer> where
    Pointer: Send

impl<Pointer> Sync for DefaultPointerOps<Pointer> where
    Pointer: Sync

impl<Pointer> Unpin for DefaultPointerOps<Pointer> where
    Pointer: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.