Trait script::unminify::ScriptSource

source ·
pub(crate) trait ScriptSource {
    // Required methods
    fn unminified_dir(&self) -> Option<String>;
    fn extract_bytes(&self) -> &[u8] ;
    fn rewrite_source(&mut self, source: Rc<DOMString>);
    fn url(&self) -> ServoUrl;
    fn is_external(&self) -> bool;
}

Required Methods§

source

fn unminified_dir(&self) -> Option<String>

source

fn extract_bytes(&self) -> &[u8]

source

fn rewrite_source(&mut self, source: Rc<DOMString>)

source

fn url(&self) -> ServoUrl

source

fn is_external(&self) -> bool

Implementors§