Skip to main content

RudaOptionDefault

Trait RudaOptionDefault 

Source
pub trait RudaOptionDefault<T: RudaType + Default + IntoRuntime>: RudaOption<T> {
    // Provided method
    fn new_None() -> Option<T> { ... }
}
Expand description

Extensions for Option that require default

Provided Methods§

Source

fn new_None() -> Option<T>

Create a new Option::None in a kernel

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<T: RudaType + Default + IntoRuntime> RudaOptionDefault<T> for Option<T>

Implementors§