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,
}
Expand description
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§
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more