Trait script::body::Extractable

source ·
pub trait Extractable {
    // Required method
    fn extract(
        &self,
        global: &GlobalScope,
        can_gc: CanGc,
    ) -> Result<ExtractedBody, Error>;
}
Expand description

Required Methods§

source

fn extract( &self, global: &GlobalScope, can_gc: CanGc, ) -> Result<ExtractedBody, Error>

Implementations on Foreign Types§

source§

impl Extractable for Vec<u8>

source§

fn extract( &self, global: &GlobalScope, can_gc: CanGc, ) -> Result<ExtractedBody, Error>

Implementors§