pub enum ContractIncomplete {
Overload,
ArgumentsRead,
DirectEval,
MutableBinding,
Reassigned,
Decorator,
Generator,
DuplicateDeclaration,
}Expand description
Why a FunctionContract is open.
Variants§
Overload
The function has TypeScript overload signatures.
ArgumentsRead
The body or a default value reads arguments, also in a decorator,
a method parameter decorator, an extends clause or a computed key
of a class inside the function.
DirectEval
The function calls eval directly.
MutableBinding
A let or var declaration holds the function.
Reassigned
The module assigns the binding again.
Decorator
A parameter has a decorator.
Generator
The function is a generator.
DuplicateDeclaration
A second declaration has the same name.
Trait Implementations§
Source§impl Clone for ContractIncomplete
impl Clone for ContractIncomplete
impl Copy for ContractIncomplete
Source§impl Debug for ContractIncomplete
impl Debug for ContractIncomplete
impl<'__de> Decode<'__de> for ContractIncompletewhere
'__de:,
impl Encode for ContractIncomplete
impl Eq for ContractIncomplete
Source§impl PartialEq for ContractIncomplete
impl PartialEq for ContractIncomplete
impl StructuralPartialEq for ContractIncomplete
Auto Trait Implementations§
impl Forget for ContractIncomplete
impl Freeze for ContractIncomplete
impl Move for ContractIncomplete
impl RefUnwindSafe for ContractIncomplete
impl Send for ContractIncomplete
impl Sync for ContractIncomplete
impl Unpin for ContractIncomplete
impl UnsafeUnpin for ContractIncomplete
impl UnwindSafe for ContractIncomplete
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DecodeOwned for Twhere
T: for<'de> Decode<'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.