[][src]Struct ovba::Module

pub struct Module {
    pub name: String,
    pub stream_name: String,
    pub doc_string: String,
    pub text_offset: usize,
    pub help_context: u32,
    pub module_type: ModuleType,
    pub read_only: bool,
    pub private: bool,
}

Specifies data for a module.

Fields

name: String

Specifies a VBA identifier as the name of the containing Module.

stream_name: String

Specifies the stream name in the VBA storage corresponding to the containing Module.

doc_string: String

Specifies the description for the containing Module.

text_offset: usize

Specifies the location of the source code within the stream that corresponds to the containing Module.

help_context: u32

Specifies the Help topic identifier for the containing Module.

module_type: ModuleType

Specifies whether the containing Module is a procedural module, document module, class module, or designer module.

read_only: bool

Specifies that the containing Module is read-only.

private: bool

Specifies that the containing Module is only usable from within the current VBA project.

Trait Implementations

impl Debug for Module[src]

Auto Trait Implementations

impl RefUnwindSafe for Module

impl Send for Module

impl Sync for Module

impl Unpin for Module

impl UnwindSafe for Module

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.