[][src]Trait left_right::aliasing::DropBehavior

pub trait DropBehavior {
    pub fn do_drop() -> bool;
}

Dictates the dropping behavior for the implementing type when used with Aliased.

Required methods

pub fn do_drop() -> bool[src]

An Aliased<T, D> will drop its inner T if and only if D::do_drop returns true.

Loading content...

Implementors

Loading content...