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§
Sourcefn representative(&self) -> usize
👎Deprecated: It is probably a bad idea to use this crate
fn representative(&self) -> usize
Get the representative value for this object.
§Safety
The representative object must be unique for this object.