Trait ToSymbol

Source
pub trait ToSymbol {
    // Required method
    fn to_sym(&self, mrb: *mut minu_state) -> RSymbol;
}
Expand description

Extension trait that defines to_sym method.

Required Methods§

Implementations on Foreign Types§

Source§

impl ToSymbol for &str

Implementors§