Trait Package

Source
pub trait Package: Sync {
    // Required method
    fn name(&self) -> &'static [u8] ;

    // Provided methods
    fn doc(&self) -> HashMap<&'static str, &'static [&'static str; 3]> { ... }
    fn prototype_docs(&self) -> PrototypeDocs { ... }
    fn prototype(&self) -> Extends { ... }
    fn methods(&self) -> MethodRes { ... }
}

Required Methods§

Source

fn name(&self) -> &'static [u8]

Provided Methods§

Source

fn doc(&self) -> HashMap<&'static str, &'static [&'static str; 3]>

Source

fn prototype_docs(&self) -> PrototypeDocs

Source

fn prototype(&self) -> Extends

Source

fn methods(&self) -> MethodRes

Implementors§