pub enum VbaModuleKind {
Standard,
Class,
Document,
}Expand description
What kind of VBA module a VbaModule is, which decides how it binds to
the workbook.
Variants§
Standard
A .bas-equivalent module with no host object binding.
Class
A .cls-equivalent module (not validated end-to-end against real
Excel yet – see the feature plan’s open-risk notes).
Document
ThisWorkbook or a worksheet’s code-behind module. Must correspond
1:1 with an existing sheet (or the workbook itself) via
bound_sheet_id, mirroring Excel’s own codeName wiring.
Trait Implementations§
Source§impl Clone for VbaModuleKind
impl Clone for VbaModuleKind
Source§fn clone(&self) -> VbaModuleKind
fn clone(&self) -> VbaModuleKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VbaModuleKind
Source§impl Debug for VbaModuleKind
impl Debug for VbaModuleKind
Source§impl<'de> Deserialize<'de> for VbaModuleKind
impl<'de> Deserialize<'de> for VbaModuleKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VbaModuleKind
Source§impl PartialEq for VbaModuleKind
impl PartialEq for VbaModuleKind
Source§impl Serialize for VbaModuleKind
impl Serialize for VbaModuleKind
impl StructuralPartialEq for VbaModuleKind
Auto Trait Implementations§
impl Freeze for VbaModuleKind
impl RefUnwindSafe for VbaModuleKind
impl Send for VbaModuleKind
impl Sync for VbaModuleKind
impl Unpin for VbaModuleKind
impl UnsafeUnpin for VbaModuleKind
impl UnwindSafe for VbaModuleKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.