[][src]Struct weedle::common::Punctuated

pub struct Punctuated<T, S> {
    pub list: Vec<T>,
    pub separator: S,
}

Parses (item1, item2, item3,...)?

Fields

list: Vec<T>separator: S

Trait Implementations

impl<T: Clone, S: Clone> Clone for Punctuated<T, S>[src]

impl<T: Debug, S: Debug> Debug for Punctuated<T, S>[src]

impl<T: Eq, S: Eq> Eq for Punctuated<T, S>[src]

impl<T: Hash, S: Hash> Hash for Punctuated<T, S>[src]

impl<T: Ord, S: Ord> Ord for Punctuated<T, S>[src]

impl<'a, T, S> Parse<'a> for Punctuated<T, S> where
    T: Parse<'a>,
    S: Parse<'a> + Default
[src]

impl<T: PartialEq, S: PartialEq> PartialEq<Punctuated<T, S>> for Punctuated<T, S>[src]

impl<T: PartialOrd, S: PartialOrd> PartialOrd<Punctuated<T, S>> for Punctuated<T, S>[src]

impl<T, S> StructuralEq for Punctuated<T, S>[src]

impl<T, S> StructuralPartialEq for Punctuated<T, S>[src]

Auto Trait Implementations

impl<T, S> RefUnwindSafe for Punctuated<T, S> where
    S: RefUnwindSafe,
    T: RefUnwindSafe
[src]

impl<T, S> Send for Punctuated<T, S> where
    S: Send,
    T: Send
[src]

impl<T, S> Sync for Punctuated<T, S> where
    S: Sync,
    T: Sync
[src]

impl<T, S> Unpin for Punctuated<T, S> where
    S: Unpin,
    T: Unpin
[src]

impl<T, S> UnwindSafe for Punctuated<T, S> where
    S: UnwindSafe,
    T: UnwindSafe
[src]

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.