Crate owner_monad

Source
Expand description

Rust implementation of a monad which provides ownership of an object.

Structs§

Traits§

  • A monad which conditionally provides immutable access to a T value.
  • A monad which conditionally provides mutable access to a T value.
  • A monad which conditionally provides access to a T value.

Functions§

  • Creates an instance of ownership monads which maps from the given owner to another using the given function.
  • Creates an instance of ownership monads which provides access to the given value.