Skip to main content

ArcExt

Trait ArcExt 

Source
pub trait ArcExt {
    type Pointee: ?Sized;

    // Required method
    fn as_ptr_logic(self) -> *const Self::Pointee;
}
Expand description

Extension trait for Arc.

Required Associated Types§

Source

type Pointee: ?Sized

The T in Arc<T>

Required Methods§

Source

fn as_ptr_logic(self) -> *const Self::Pointee

Get the underlying raw pointer, in logic.

Used to specify Arc::as_ptr.

logic

Implementations on Foreign Types§

Source§

impl<T: ?Sized, A: Allocator> ArcExt for Arc<T, A>

Available on crate feature nightly only.
Source§

fn as_ptr_logic(self) -> *const T

logic(opaque)

Source§

type Pointee = T

Implementors§