Skip to main content

Pointer

Trait Pointer 

Source
pub(crate) trait Pointer {
    // Required method
    fn as_usize(self) -> usize;
}

Required Methods§

Source

fn as_usize(self) -> usize

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> Pointer for *const T

Implementors§