Skip to main content

TextDecoderMethods

Trait TextDecoderMethods 

Source
pub trait TextDecoderMethods<D>
where D: DomTypes,
{ // Required methods fn Decode( &self, input: Option<ArrayBufferViewOrArrayBuffer>, options: &TextDecodeOptions, ) -> Result<USVString, Error>; fn Encoding(&self) -> DOMString; fn Fatal(&self) -> bool; fn IgnoreBOM(&self) -> bool; fn Constructor( cx: &mut JSContext, global: &<D as DomTypes>::GlobalScope, proto: Option<Handle<'_, *mut JSObject>>, label: DOMString, options: &TextDecoderOptions, ) -> Result<Root<Dom<<D as DomTypes>::TextDecoder>>, Error>; }

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§