Struct efficient_enum::option::EfficientOptionTupleInnerSome [] [src]

pub struct EfficientOptionTupleInnerSome<'a, A: 'a, B: 'a, TM: 'a = TagMSB>(_)
where
    A: TaggableValue<TM, Two>
;

A helper type useful for accessing the optional data or removing it without having to use unwraps.

Methods

impl<'a, TM, A, B> EfficientOptionTupleInnerSome<'a, A, B, TM> where
    A: TaggableValue<TM, Two>, 
[src]

Clones the A value

Clones the B value

Gets a reference to the B value

Gets mutable a reference to the B value

Destructures an EfficientOptionTupleInnerSome into a mutable reference to the B value

Replaces the A value

Removes the B value

Maps the A and B values to a result