[][src]Enum ovba::ModuleType

pub enum ModuleType {
    Procedural,
    DocClsDesigner,
}

Specifies the containing module's type.

Variants

Procedural

Specifies a procedural module.

A procedural module is a collection of subroutines and functions.

DocClsDesigner

Specifies a document module, class module, or designer module.

A document module is a type of VBA project item that specifies a module for embedded macros and programmatic access operations that are associated with a document.

A class module is a module that contains the definition for a new object. Each instance of a class creates a new object, and procedures that are defined in the module become properties and methods of the object.

A designer module is a VBA module that extends the methods and properties of an ActiveX control that has been registered with the project.

The file format specification doesn't distinguish between these three module types and encodes them using a single umbrella type ID.

Trait Implementations

impl Debug for ModuleType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.