[−][src]Struct rustdoc::clean::types::GenericParamDef

pub(crate) struct GenericParamDef {
    pub(crate) name: String,
    pub(crate) kind: GenericParamDefKind,
}

Fields

name: Stringkind: GenericParamDefKind

Implementations

impl GenericParamDef[src]

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

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

pub(crate) fn get_type(&self) -> Option<Type>[src]

pub(crate) fn get_bounds(&self) -> Option<&[GenericBound]>[src]

impl GenericParamDef[src]

pub(crate) fn print(&self) -> impl Display + '_[src]

Trait Implementations

impl Clean<GenericParamDef> for GenericParamDef[src]

impl<'_> Clean<GenericParamDef> for GenericParam<'_>[src]

impl Clone for GenericParamDef[src]

impl Debug for GenericParamDef[src]

impl Eq for GenericParamDef[src]

impl Hash for GenericParamDef[src]

impl PartialEq<GenericParamDef> for GenericParamDef[src]

impl StructuralEq for GenericParamDef[src]

impl StructuralPartialEq for GenericParamDef[src]

Auto Trait Implementations

impl !RefUnwindSafe for GenericParamDef

impl !Send for GenericParamDef

impl !Sync for GenericParamDef

impl Unpin for GenericParamDef

impl !UnwindSafe for GenericParamDef

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithConstness for T[src]