Struct ezno_checker::TypeCheckOptions
source · pub struct TypeCheckOptions {
pub constant_parameters: bool,
pub allow_elided_arguments: bool,
pub allow_extra_arguments: bool,
pub constant_function_declarations: bool,
pub strict_casts: bool,
pub debug_types: bool,
}Expand description
Options for type checking TODO figure out compat with tsc
Fields§
§constant_parameters: boolParameters cannot be reassigned
allow_elided_arguments: boolMissing arguments are treated as undefined (thats how JS works)
allow_extra_arguments: bool§constant_function_declarations: bool§strict_casts: boolWhether auto casts can happen TODO maybe levels
debug_types: boolAny types displayed will be in debug view
Trait Implementations§
source§impl Default for TypeCheckOptions
impl Default for TypeCheckOptions
source§impl<'de> Deserialize<'de> for TypeCheckOptions
impl<'de> Deserialize<'de> for TypeCheckOptions
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
Auto Trait Implementations§
impl RefUnwindSafe for TypeCheckOptions
impl Send for TypeCheckOptions
impl Sync for TypeCheckOptions
impl Unpin for TypeCheckOptions
impl UnwindSafe for TypeCheckOptions
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