Skip to main content

OptionTypeExt

Trait OptionTypeExt 

Source
pub trait OptionTypeExt {
    // Required method
    fn is_option(&self) -> bool;
}

Required Methods§

Source

fn is_option(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl OptionTypeExt for Path

Source§

fn is_option(&self) -> bool

Source§

impl OptionTypeExt for Type

Source§

fn is_option(&self) -> bool

Implementors§