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: StringSpecifies a VBA identifier as the name of the containing Module.
stream_name: StringSpecifies the stream name in the VBA storage corresponding to the containing
Module.
doc_string: StringSpecifies the description for the containing Module.
text_offset: usizeSpecifies the location of the source code within the stream that corresponds to
the containing Module.
help_context: u32Specifies the Help topic identifier for the containing Module.
module_type: ModuleTypeSpecifies whether the containing Module is a procedural module, document
module, class module, or designer module.
read_only: boolSpecifies that the containing Module is read-only.
private: boolSpecifies 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