[][src]Trait async_ecs::misc::try_default::TryDefault

pub trait TryDefault: Sized {
    pub fn try_default() -> Result<Self, String>;

    pub fn unwrap_default() -> Self { ... }
}

Required methods

pub fn try_default() -> Result<Self, String>[src]

Loading content...

Provided methods

pub fn unwrap_default() -> Self[src]

Loading content...

Implementors

impl<T> TryDefault for T where
    T: Default
[src]

Loading content...