[−][src]Enum rustc_ast_lowering::ParamMode

pub(crate) enum ParamMode {
    Explicit,
    ExplicitNamed,
    Optional,
}

Variants

Explicit

Any path in a type context.

ExplicitNamed

Path in a type definition, where the anonymous lifetime '_ is not allowed.

Optional

The module::Type in module::Type::method in an expression.

Trait Implementations

impl Clone for ParamMode[src]

impl Copy for ParamMode[src]

impl PartialEq<ParamMode> for ParamMode[src]

impl StructuralPartialEq for ParamMode[src]

Auto Trait Implementations

impl RefUnwindSafe for ParamMode

impl Send for ParamMode

impl Sync for ParamMode

impl Unpin for ParamMode

impl UnwindSafe for ParamMode

Blanket Implementations

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

impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
    T: Copy, 
[src]

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

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

impl<'a, T> Captures<'a> 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.