Struct tagged::Tagged [] [src]

pub struct Tagged<S, B>(_, _);

Methods

impl<S, B> Tagged<S, B>
[src]

fn new(b: B) -> Self

fn untag(self) -> B

fn retag<T>(self) -> Tagged<T, B>

Trait Implementations

impl<S, B> AsRef<B> for Tagged<S, B>
[src]

fn as_ref(&self) -> &B

Performs the conversion.

impl<S, B> AsMut<B> for Tagged<S, B>
[src]

fn as_mut(&mut self) -> &mut B

Performs the conversion.