[][src]Enum syn::PathParameters

pub enum PathParameters {
    AngleBracketed(AngleBracketedParameterData),
    Parenthesized(ParenthesizedParameterData),
}

Parameters of a path segment.

E.g. <A, B> as in Foo<A, B> or (A, B) as in Foo(A, B)

Variants

AngleBracketed(AngleBracketedParameterData)

The <'a, A, B, C> in foo::bar::baz::<'a, A, B, C>

Parenthesized(ParenthesizedParameterData)

The (A, B) and C in Foo(A, B) -> C

Methods

impl PathParameters[src]

pub fn none() -> Self[src]

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

Trait Implementations

impl Eq for PathParameters[src]

impl Clone for PathParameters[src]

impl PartialEq<PathParameters> for PathParameters[src]

impl Hash for PathParameters[src]

impl Debug for PathParameters[src]

impl ToTokens for PathParameters[src]

Auto Trait Implementations

impl Sync for PathParameters

impl Send for PathParameters

impl Unpin for PathParameters

impl RefUnwindSafe for PathParameters

impl UnwindSafe for PathParameters

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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