pub enum DispatchCallbackKind {
ThreadSafe,
Worksheet,
Macro,
Lifecycle,
}Expand description
Actual kind of Excel-issued callback that is attempting a drain.
Variants§
ThreadSafe
MTR-safe worksheet callback.
Worksheet
Ordinary worksheet-function callback.
Macro
Registered macro command callback.
Lifecycle
Open/close lifecycle callback.
Implementations§
Source§impl DispatchCallbackKind
impl DispatchCallbackKind
Sourcepub const fn permits(self, requirement: DispatchRequirement) -> bool
pub const fn permits(self, requirement: DispatchRequirement) -> bool
Returns whether this callback kind exactly permits requirement.
There is intentionally no inferred capability ordering: only the listed pairs and context-neutral operations are allowed.
Trait Implementations§
Source§impl Clone for DispatchCallbackKind
impl Clone for DispatchCallbackKind
impl Copy for DispatchCallbackKind
Source§impl Debug for DispatchCallbackKind
impl Debug for DispatchCallbackKind
impl Eq for DispatchCallbackKind
Source§impl PartialEq for DispatchCallbackKind
impl PartialEq for DispatchCallbackKind
impl StructuralPartialEq for DispatchCallbackKind
Auto Trait Implementations§
impl Freeze for DispatchCallbackKind
impl RefUnwindSafe for DispatchCallbackKind
impl Send for DispatchCallbackKind
impl Sync for DispatchCallbackKind
impl Unpin for DispatchCallbackKind
impl UnsafeUnpin for DispatchCallbackKind
impl UnwindSafe for DispatchCallbackKind
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