[][src]Trait twitchchat::Reborrow

pub trait Reborrow<'a>: ReborrowSealed where
    Self: 'a, 
{ type Output: 'a; fn reborrow(&self) -> Self::Output; }

Helper to reborrow a Cow without moving it

Associated Types

type Output: 'a

The borrowed output

Loading content...

Required methods

fn reborrow(&self) -> Self::Output

Reborrow self.

This is intended for internal use.

Loading content...

Implementations on Foreign Types

impl<'a> Reborrow<'a> for &'a Cow<'a, str>[src]

type Output = Cow<'a, str>

impl<'a> Reborrow<'a> for &'a Option<Cow<'a, str>>[src]

type Output = Option<Cow<'a, str>>

impl<'a> Reborrow<'a> for Option<&'a Cow<'a, str>>[src]

type Output = Option<Cow<'a, str>>

Loading content...

Implementors

Loading content...