[][src]Trait twitchchat::IntoOwned

pub trait IntoOwned<'a> {
    type Output: 'static;
    fn into_owned(self) -> Self::Output;
}

Converts a borrowed type into an owned type. e.g. 'a to 'static

Associated Types

type Output: 'static

The output type

Loading content...

Required methods

fn into_owned(self) -> Self::Output

Consumes self, returning an owned version

Loading content...

Implementations on Foreign Types

impl<'a, T: IntoOwned<'a> + Clone> IntoOwned<'a> for &'a T[src]

type Output = T::Output

impl<'a, T: IntoOwned<'a> + 'a> IntoOwned<'a> for Option<T>[src]

type Output = Option<T::Output>

impl IntoOwned<'static> for u8[src]

type Output = Self

impl IntoOwned<'static> for u16[src]

type Output = Self

impl IntoOwned<'static> for u32[src]

type Output = Self

impl IntoOwned<'static> for u64[src]

type Output = Self

impl IntoOwned<'static> for u128[src]

type Output = Self

impl IntoOwned<'static> for usize[src]

type Output = Self

impl IntoOwned<'static> for i8[src]

type Output = Self

impl IntoOwned<'static> for i16[src]

type Output = Self

impl IntoOwned<'static> for i32[src]

type Output = Self

impl IntoOwned<'static> for i64[src]

type Output = Self

impl IntoOwned<'static> for i128[src]

type Output = Self

impl IntoOwned<'static> for isize[src]

type Output = Self

impl IntoOwned<'static> for bool[src]

type Output = Self

impl IntoOwned<'static> for f32[src]

type Output = Self

impl IntoOwned<'static> for f64[src]

type Output = Self

Loading content...

Implementors

impl IntoOwned<'static> for PrefixIndex[src]

type Output = Self

impl IntoOwned<'static> for TagIndices[src]

type Output = Self

impl IntoOwned<'static> for MaybeOwnedIndex[src]

type Output = Self

impl IntoOwned<'static> for UserConfig[src]

type Output = Self

impl IntoOwned<'static> for Color[src]

type Output = Self

impl<'a> IntoOwned<'a> for MaybeOwned<'a>[src]

type Output = MaybeOwned<'static>

impl<'a> IntoOwned<'a> for Commands<'a>[src]

type Output = Commands<'static>

impl<'a> IntoOwned<'a> for Cap<'a>[src]

type Output = Cap<'static>

impl<'a> IntoOwned<'a> for ClearChat<'a>[src]

type Output = ClearChat<'static>

impl<'a> IntoOwned<'a> for ClearMsg<'a>[src]

type Output = ClearMsg<'static>

impl<'a> IntoOwned<'a> for GlobalUserState<'a>[src]

type Output = GlobalUserState<'static>

impl<'a> IntoOwned<'a> for HostTarget<'a>[src]

type Output = HostTarget<'static>

impl<'a> IntoOwned<'a> for IrcReady<'a>[src]

type Output = IrcReady<'static>

impl<'a> IntoOwned<'a> for Join<'a>[src]

type Output = Join<'static>

impl<'a> IntoOwned<'a> for Notice<'a>[src]

type Output = Notice<'static>

impl<'a> IntoOwned<'a> for Part<'a>[src]

type Output = Part<'static>

impl<'a> IntoOwned<'a> for Ping<'a>[src]

type Output = Ping<'static>

impl<'a> IntoOwned<'a> for Pong<'a>[src]

type Output = Pong<'static>

impl<'a> IntoOwned<'a> for Privmsg<'a>[src]

type Output = Privmsg<'static>

impl<'a> IntoOwned<'a> for Ready<'a>[src]

type Output = Ready<'static>

impl<'a> IntoOwned<'a> for Reconnect<'a>[src]

type Output = Reconnect<'static>

impl<'a> IntoOwned<'a> for RoomState<'a>[src]

type Output = RoomState<'static>

impl<'a> IntoOwned<'a> for UserNotice<'a>[src]

type Output = UserNotice<'static>

impl<'a> IntoOwned<'a> for UserState<'a>[src]

type Output = UserState<'static>

impl<'a> IntoOwned<'a> for Whisper<'a>[src]

type Output = Whisper<'static>

impl<'a> IntoOwned<'a> for IrcMessage<'a>[src]

type Output = IrcMessage<'static>

Loading content...