Enum rustdoc::core::ImplTraitParam
source · [−]Expand description
DefId
or parameter index (ty::ParamTy.index
) of a synthetic type parameter
for impl Trait
in argument position.
Variants
DefId(DefId)
ParamIndex(u32)
Trait Implementations
sourceimpl Clone for ImplTraitParam
impl Clone for ImplTraitParam
sourcefn clone(&self) -> ImplTraitParam
fn clone(&self) -> ImplTraitParam
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl From<DefId> for ImplTraitParam
impl From<DefId> for ImplTraitParam
sourceimpl From<u32> for ImplTraitParam
impl From<u32> for ImplTraitParam
sourceimpl Hash for ImplTraitParam
impl Hash for ImplTraitParam
sourceimpl Ord for ImplTraitParam
impl Ord for ImplTraitParam
sourcefn cmp(&self, other: &ImplTraitParam) -> Ordering
fn cmp(&self, other: &ImplTraitParam) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ImplTraitParam> for ImplTraitParam
impl PartialEq<ImplTraitParam> for ImplTraitParam
sourcefn eq(&self, other: &ImplTraitParam) -> bool
fn eq(&self, other: &ImplTraitParam) -> bool
sourceimpl PartialOrd<ImplTraitParam> for ImplTraitParam
impl PartialOrd<ImplTraitParam> for ImplTraitParam
sourcefn partial_cmp(&self, other: &ImplTraitParam) -> Option<Ordering>
fn partial_cmp(&self, other: &ImplTraitParam) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ImplTraitParam
impl Eq for ImplTraitParam
impl StructuralEq for ImplTraitParam
impl StructuralPartialEq for ImplTraitParam
Auto Trait Implementations
impl RefUnwindSafe for ImplTraitParam
impl Send for ImplTraitParam
impl Sync for ImplTraitParam
impl Unpin for ImplTraitParam
impl UnwindSafe for ImplTraitParam
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes
Size for each variant:
DefId
: 8 bytesParamIndex
: 8 bytes