[][src]Struct ttv_chat::irc::TagIndices

pub struct TagIndices { /* fields omitted */ }

Pre-computed tag indices

This type is only exposed for those wanting to extend/make custom types.

Implementations

impl TagIndices[src]

pub fn build_indices(input: &str) -> TagIndices[src]

Build indices from this tags fragment

The fragment should be in the form of '@k1=v2;k2=v2'

pub fn len(&self) -> usize[src]

Get the number of parsed tags

pub fn is_empty(&self) -> bool[src]

Checks whether any tags were parsed

Trait Implementations

impl Clone for TagIndices[src]

impl Debug for TagIndices[src]

impl Default for TagIndices[src]

impl IntoOwned<'static> for TagIndices[src]

type Output = TagIndices

The output type

impl PartialEq<TagIndices> for TagIndices[src]

impl StructuralPartialEq for TagIndices[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.