Skip to main content

RefDefault

Trait RefDefault 

Source
pub trait RefDefault {
    // Required method
    fn default(&self) -> Self;
}

Required Methods§

Source

fn default(&self) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T: FloatLike> RefDefault for F<T>

Source§

impl<T: FloatLike> RefDefault for T

Source§

impl<T: Real> RefDefault for FourMomentum<T, T>

Source§

impl<T: Real> RefDefault for ThreeMomentum<T>