Struct std::util::NonCopyable

pub struct NonCopyable;

A non-copyable dummy type.

Methods

impl NonCopyable

fn new() -> NonCopyable

Create a new noncopyable token.

Trait Implementations

impl Eq for NonCopyable

fn eq(&self, __arg_0: &NonCopyable) -> bool

fn ne(&self, __arg_0: &NonCopyable) -> bool

impl TotalEq for NonCopyable

fn equals(&self, __arg_0: &NonCopyable) -> bool

impl Ord for NonCopyable

fn lt(&self, __arg_0: &NonCopyable) -> bool

fn le(&self, __arg_0: &NonCopyable) -> bool

fn gt(&self, __arg_0: &NonCopyable) -> bool

fn ge(&self, __arg_0: &NonCopyable) -> bool

impl TotalOrd for NonCopyable

fn cmp(&self, __arg_0: &NonCopyable) -> Ordering

impl Drop for NonCopyable

fn drop(&mut self)