Skip to main content

ClassExt

Trait ClassExt 

Source
pub trait ClassExt<'a> {
    // Required methods
    fn class_key(&'a self) -> Option<&'a PropName<'a>>;
    fn is_static(&self) -> bool;
}

Required Methods§

Source

fn class_key(&'a self) -> Option<&'a PropName<'a>>

Source

fn is_static(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a> ClassExt<'a> for ClassMember<'a>

Source§

fn class_key(&'a self) -> Option<&'a PropName<'a>>

Source§

fn is_static(&self) -> bool

Implementors§