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

pub(crate) struct Impl {
    pub(crate) unsafety: Unsafety,
    pub(crate) generics: Generics,
    pub(crate) provided_trait_methods: FxHashSet<String>,
    pub(crate) trait_: Option<Type>,
    pub(crate) for_: Type,
    pub(crate) items: Vec<Item>,
    pub(crate) polarity: Option<ImplPolarity>,
    pub(crate) synthetic: bool,
    pub(crate) blanket_impl: Option<Type>,
}

Fields

unsafety: Unsafetygenerics: Genericsprovided_trait_methods: FxHashSet<String>trait_: Option<Type>for_: Typeitems: Vec<Item>polarity: Option<ImplPolarity>synthetic: boolblanket_impl: Option<Type>

Implementations

impl Impl[src]

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

pub(in html::format) fn print_inner(
    &self,
    link_trait: bool,
    use_absolute: bool
) -> impl Display + '_
[src]

Trait Implementations

impl Clone for Impl[src]

impl Debug for Impl[src]

Auto Trait Implementations

impl !RefUnwindSafe for Impl

impl !Send for Impl

impl !Sync for Impl

impl Unpin for Impl

impl !UnwindSafe for Impl

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]