Trait ServoInternalsMethods

Source
pub(crate) trait ServoInternalsMethods<D>
where D: DomTypes,
{ // Required methods fn ReportMemory( &self, _comp: InRealm<'_>, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>; fn GetStringPreference(&self, name: USVString) -> Result<USVString, Error>; fn GetIntPreference(&self, name: USVString) -> Result<i64, Error>; fn GetBoolPreference(&self, name: USVString) -> Result<bool, Error>; fn SetStringPreference(&self, name: USVString, value: USVString); fn SetIntPreference(&self, name: USVString, value: i64); fn SetBoolPreference(&self, name: USVString, value: bool); }

Required Methods§

Source

fn ReportMemory( &self, _comp: InRealm<'_>, _can_gc: CanGc, ) -> Rc<<D as DomTypes>::Promise>

Source

fn GetStringPreference(&self, name: USVString) -> Result<USVString, Error>

Source

fn GetIntPreference(&self, name: USVString) -> Result<i64, Error>

Source

fn GetBoolPreference(&self, name: USVString) -> Result<bool, Error>

Source

fn SetStringPreference(&self, name: USVString, value: USVString)

Source

fn SetIntPreference(&self, name: USVString, value: i64)

Source

fn SetBoolPreference(&self, name: USVString, value: bool)

Implementors§