Struct efficient_enum::option::OptionSomeMut [] [src]

pub struct OptionSomeMut<'a, A: 'a>(_);

A helper type for Option, useful for accessing 'is_some' data and removing it.

Methods

impl<'a, A> OptionSomeMut<'a, A>
[src]

Gets a reference to the value

Gets mutable a reference to the value

Removes the value