Trait muse_lang::runtime::symbol::IntoOptionSymbol

source ·
pub trait IntoOptionSymbol {
    // Required method
    fn into_symbol(self) -> Option<Symbol>;
}
Expand description

A type that can be optionally be converted to a Symbol.

Required Methods§

source

fn into_symbol(self) -> Option<Symbol>

Returns this type as an optional symbol.

Implementations on Foreign Types§

source§

impl IntoOptionSymbol for Option<Symbol>

Implementors§

source§

impl<T> IntoOptionSymbol for T
where T: Into<Symbol>,