Compatible

Trait Compatible 

Source
pub unsafe trait Compatible {
    // Required method
    fn representative(&self) -> usize;
}
👎Deprecated: It is probably a bad idea to use this crate
Expand description

A thread-unsafe object that can be used in the BreadThread runtime.

§Safety

representative must be unique for the given object, and the type must not have a Drop implementation of any kind.

Required Methods§

Source

fn representative(&self) -> usize

👎Deprecated: It is probably a bad idea to use this crate

Get the representative value for this object.

§Safety

The representative object must be unique for this object.

Implementors§