mozjs_sys::jsapi::mozilla

Type Alias AutoCleanLinkedList_Traits

Source
pub type AutoCleanLinkedList_Traits = LinkedListElementTraits;
Expand description

LinkedList supports refcounted elements using this adapter class. Clients using LinkedList<RefPtr> will get a data structure that holds a strong reference to T as long as T is in the list.

Aliased Type§

struct AutoCleanLinkedList_Traits {
    pub _address: u8,
}

Fields§

§_address: u8

Trait Implementations

Source§

impl Clone for LinkedListElementTraits

Source§

fn clone(&self) -> LinkedListElementTraits

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for LinkedListElementTraits

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for LinkedListElementTraits

Source§

fn eq(&self, other: &LinkedListElementTraits) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for LinkedListElementTraits

Source§

impl StructuralPartialEq for LinkedListElementTraits