Skip to main content

AsKPrintPointer

Trait AsKPrintPointer 

Source
pub trait AsKPrintPointer {
    // Required method
    fn as_c_ptr_void(&self) -> *const c_void;
}
Expand description

Trait implemented by pointer types formatted with %p.

Required Methods§

Source

fn as_c_ptr_void(&self) -> *const c_void

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl AsKPrintPointer for usize

Source§

fn as_c_ptr_void(&self) -> *const c_void

Source§

impl<T: ?Sized> AsKPrintPointer for &T

Source§

fn as_c_ptr_void(&self) -> *const c_void

Source§

impl<T: ?Sized> AsKPrintPointer for &mut T

Source§

fn as_c_ptr_void(&self) -> *const c_void

Source§

impl<T: ?Sized> AsKPrintPointer for *const T

Source§

fn as_c_ptr_void(&self) -> *const c_void

Source§

impl<T: ?Sized> AsKPrintPointer for *mut T

Source§

fn as_c_ptr_void(&self) -> *const c_void

Implementors§