Skip to main content

RcExt

Trait RcExt 

Source
pub trait RcExt {
    type Pointee: ?Sized;

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

Extension trait for Rc.

Required Associated Types§

Source

type Pointee: ?Sized

The T in Rc<T>

Required Methods§

Source

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

Get the underlying raw pointer, in logic.

Used to specify Rc::as_ptr.

logic

Implementations on Foreign Types§

Source§

impl<T: ?Sized, A: Allocator> RcExt for Rc<T, A>

Available on crate feature nightly only.
Source§

fn as_ptr_logic(self) -> *const T

logic(opaque)

Source§

type Pointee = T

Implementors§