pub trait ClassLike {
    // Provided methods
    fn members(&self) -> Members<'_>  { ... }
    fn functions(&self) -> Functions<'_>  { ... }
}
Expand description

Trait shared by Structure, Class, Union or Packed

Provided Methods§

fn members(&self) -> Members<'_>

Return this list of all the attributes defined in this class-like type

fn functions(&self) -> Functions<'_>

Iterator over the functions defined by the class-like.

Implementors§

§

impl ClassLike for Class<'_>

§

impl ClassLike for Packed<'_>

§

impl ClassLike for Structure<'_>

§

impl ClassLike for Union<'_>