Skip to main content

Defaults

Trait Defaults 

Source
pub trait Defaults: Aggregate {
    const IS_DEFAULT: Column<Self, bool> = _;

    // Provided methods
    fn make_default(&mut self) { ... }
    fn is_default(&self) -> bool { ... }
}

Provided Associated Constants§

Source

const IS_DEFAULT: Column<Self, bool> = _

Provided Methods§

Source

fn make_default(&mut self)

Source

fn is_default(&self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<A: Uses<Default>> Defaults for A