Skip to main content

Method

Trait Method 

Source
pub trait Method<S>: Sealed
where S: ?Sized,
{ }
Expand description

Marker trait for all functions that accept a self reference as the first parameter.

See also BareMaybeVarargs and BareExactArgs.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'s, Args> Method<RawSelf<'s>> for FallibleRawSelf<Args>

Source§

impl<'s, Args> Method<RawSelf<'s>> for InfallibleRawSelf<Args>

Source§

impl<S, Args> Method<<S as Receiver>::Receiver> for FallibleSelf<S, Args>
where S: Receiver,

Source§

impl<S, Args> Method<<S as Receiver>::Receiver> for InfallibleSelf<S, Args>
where S: Receiver,