Trait mozjs::rust::ToResult

source ·
trait ToResult {
    // Required method
    fn to_result(self) -> Result<(), ()>;
}

Required Methods§

source

fn to_result(self) -> Result<(), ()>

Implementations on Foreign Types§

source§

impl ToResult for bool

Implementors§