Struct com_macros_support::Class[][src]

pub struct Class {
    pub name: Ident,
    pub has_class_factory: bool,
    pub docs: Vec<Attribute>,
    pub visibility: Visibility,
    pub interfaces: Vec<Interface>,
    pub methods: HashMap<Path, Vec<InterfaceMethod>>,
    pub fields: Vec<Field>,
    pub impl_debug: bool,
}

Fields

name: Identhas_class_factory: booldocs: Vec<Attribute>visibility: Visibilityinterfaces: Vec<Interface>methods: HashMap<Path, Vec<InterfaceMethod>>fields: Vec<Field>impl_debug: bool

Implementations

The COM class object struct and impl

Structure of the object:

pub struct ClassName {
    // ..interface vpointers..
    // ..ref count..
    // ..user defined fields..
}

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.