pub trait IntoAccess {
    fn access() -> Access;

    fn compatible<U: IntoAccess>() -> bool { ... }
}
Expand description

Convert a type into the correspodning access.

Required methods

Performs the conversion.

Provided methods

Check if the borrow is compatible with another borrow. A &T is compatible with &T, but not &mut T. A &mut T is compatible with &T and &mut T.

Implementations on Foreign Types

Implementors