pub trait AsOption {
    // Required method
    fn as_option(&self) -> Option<&Self>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl AsOption for str

Implementors§