Crate owner_monad[−][src]
Rust implementation of a monad which provides ownership of an object.
Structs
BindOwner | An implementation of the |
PureOwner | An implementation of the |
Traits
Owner | A monad which conditionally provides immutable access to a |
OwnerMut | A monad which conditionally provides mutable access to a |
OwnerOnce | A monad which conditionally provides access to a |
Functions
bind | Creates an instance of ownership monads which maps from the given owner to another using the given function. |
pure | Creates an instance of ownership monads which provides access to the given value. |