StaticMethodImpl

Trait StaticMethodImpl 

Source
pub trait StaticMethodImpl<Output = ()> {
    // Required method
    fn call() -> Output;
}
Expand description

Trait for static/associated function implementations (no self parameter).

Required Methods§

Source

fn call() -> Output

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Cap, Q, Then, Else, Output> StaticMethodImpl<Output> for StaticSelect<Cap, Q, Then, Else>
where Cap: SelectStaticCall<Q, Then, Else, Output>,

Source§

impl<Output: Default> StaticMethodImpl<Output> for NoImpl