Trait rustc_metadata::rmeta::table::IsDefault

source ·
pub(super) trait IsDefault: Default {
    // Required method
    fn is_default(&self) -> bool;
}

Required Methods§

source

fn is_default(&self) -> bool

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl IsDefault for bool

source§

impl IsDefault for u32

source§

impl IsDefault for u64

source§

impl IsDefault for UnusedGenericParams

source§

impl<T> IsDefault for Option<T>

Implementors§