Skip to main content

IsPtr

Trait IsPtr 

Source
pub trait IsPtr {
    // Required method
    fn is_ptr(&self) -> bool;
}
Expand description

Checks if given type is some kind of pointer.

Required Methods§

Source

fn is_ptr(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§