Plugin

Struct Plugin 

Source
pub struct Plugin { /* private fields */ }
Expand description

The Plugin class.

MDN Documentation

This API requires the following crate features to be activated: Plugin

Implementations§

Source§

impl Plugin

Source

pub fn description(&self) -> String

Getter for the description field of this object.

MDN Documentation

This API requires the following crate features to be activated: Plugin

Source§

impl Plugin

Source

pub fn filename(&self) -> String

Getter for the filename field of this object.

MDN Documentation

This API requires the following crate features to be activated: Plugin

Source§

impl Plugin

Source

pub fn version(&self) -> String

Getter for the version field of this object.

MDN Documentation

This API requires the following crate features to be activated: Plugin

Source§

impl Plugin

Source

pub fn name(&self) -> String

Getter for the name field of this object.

MDN Documentation

This API requires the following crate features to be activated: Plugin

Source§

impl Plugin

Source

pub fn length(&self) -> u32

Getter for the length field of this object.

MDN Documentation

This API requires the following crate features to be activated: Plugin

Source§

impl Plugin

Source

pub fn item(&self, index: u32) -> Option<MimeType>

The item() method.

MDN Documentation

This API requires the following crate features to be activated: MimeType, Plugin

Source§

impl Plugin

Source

pub fn named_item(&self, name: &str) -> Option<MimeType>

The namedItem() method.

MDN Documentation

This API requires the following crate features to be activated: MimeType, Plugin

Source§

impl Plugin

Source

pub fn get_with_index(&self, index: u32) -> Option<MimeType>

Indexing getter. As in the literal Javascript this[key].

This API requires the following crate features to be activated: MimeType, Plugin

Source§

impl Plugin

Source

pub fn get_with_name(&self, name: &str) -> Option<MimeType>

Indexing getter. As in the literal Javascript this[key].

This API requires the following crate features to be activated: MimeType, Plugin

Methods from Deref<Target = Object>§

Source

pub fn constructor(&self) -> Function

The constructor property returns a reference to the Object constructor function that created the instance object.

MDN documentation

Source

pub fn has_own_property(&self, property: &JsValue) -> bool

The hasOwnProperty() method returns a boolean indicating whether the object has the specified property as its own property (as opposed to inheriting it).

MDN documentation

Source

pub fn is_prototype_of(&self, value: &JsValue) ->