InitReturn

Trait InitReturn 

Source
pub trait InitReturn {
    // Required method
    fn into_init_bool(self) -> bool;
}
Expand description

A trait representing types that can be used as the return value for a #[panda::init] function

Required Methods§

Implementations on Foreign Types§

Source§

impl InitReturn for bool

Source§

impl InitReturn for i32

Source§

impl InitReturn for ()

Source§

impl<I: InitReturn, E: Debug> InitReturn for Result<I, E>

Implementors§