Struct tagged::Tagged [−] [src]

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

Methods

impl<S, B> Tagged<S, B>

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>

fn as_ref(&self) -> &B

impl<S, B> AsMut<B> for Tagged<S, B>

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