[][src]Trait twitchchat::AsOwned

pub trait AsOwned: AsOwnedSealed {
    type Owned: 'static;
    fn as_owned(&self) -> Self::Owned;
}

Converts a type to an owned version

Associated Types

type Owned: 'static

The owned type

Loading content...

Required methods

fn as_owned(&self) -> Self::Owned

Get an owned version

Loading content...

Implementations on Foreign Types

impl AsOwned for bool[src]

type Owned = Self

impl AsOwned for usize[src]

type Owned = Self

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

type Owned = Cow<'static, str>

impl<T: AsOwned + Clone> AsOwned for Option<T>[src]

type Owned = Option<T::Owned>

impl<T: AsOwned + Clone> AsOwned for Vec<T>[src]

type Owned = Vec<T::Owned>

Loading content...

Implementors

impl AsOwned for Color[src]

type Owned = Self

impl AsOwned for Reconnect[src]

type Owned = Self

impl<'a> AsOwned for Tags<'a>[src]

type Owned = Tags<'static>

impl<'t> AsOwned for Prefix<'t>[src]

type Owned = Prefix<'static>

impl<'t> AsOwned for BadgeKind<'t>[src]

type Owned = BadgeKind<'static>

impl<'t> AsOwned for AllCommands<'t>[src]

type Owned = AllCommands<'static>

impl<'t> AsOwned for Ctcp<'t>[src]

type Owned = Ctcp<'static>

impl<'t> AsOwned for HostTargetKind<'t>[src]

type Owned = HostTargetKind<'static>

impl<'t> AsOwned for Message<'t>[src]

type Owned = Message<'static>

impl<'t> AsOwned for Cap<'t>[src]

type Owned = Cap<'static>

impl<'t> AsOwned for ClearChat<'t>[src]

type Owned = ClearChat<'static>

impl<'t> AsOwned for ClearMsg<'t>[src]

type Owned = ClearMsg<'static>

impl<'t> AsOwned for GlobalUserState<'t>[src]

type Owned = GlobalUserState<'static>

impl<'t> AsOwned for HostTarget<'t>[src]

type Owned = HostTarget<'static>

impl<'t> AsOwned for IrcReady<'t>[src]

type Owned = IrcReady<'static>

impl<'t> AsOwned for Join<'t>[src]

type Owned = Join<'static>

impl<'t> AsOwned for Notice<'t>[src]

type Owned = Notice<'static>

impl<'t> AsOwned for Part<'t>[src]

type Owned = Part<'static>

impl<'t> AsOwned for Ping<'t>[src]

type Owned = Ping<'static>

impl<'t> AsOwned for Pong<'t>[src]

type Owned = Pong<'static>

impl<'t> AsOwned for Privmsg<'t>[src]

type Owned = Privmsg<'static>

impl<'t> AsOwned for Ready<'t>[src]

type Owned = Ready<'static>

impl<'t> AsOwned for RoomState<'t>[src]

type Owned = RoomState<'static>

impl<'t> AsOwned for UserNotice<'t>[src]

type Owned = UserNotice<'static>

impl<'t> AsOwned for UserState<'t>[src]

type Owned = UserState<'static>

impl<'t> AsOwned for Whisper<'t>[src]

type Owned = Whisper<'static>

impl<'t> AsOwned for Badge<'t>[src]

type Owned = Badge<'static>

Loading content...