pub struct FrontendOptions {
pub retain_full_type_graphs: bool,
pub for_autocomplete: bool,
pub run_lint_checks: bool,
pub randomize_constraint_resolution_seed: Option<u32>,
pub enabled_lint_warnings: Option<LintOptions>,
pub cancellation_token: Option<Arc<FrontendCancellationToken>>,
pub module_time_limit_sec: Option<f64>,
pub apply_internal_limit_scaling: bool,
pub custom_module_check: Option<fn(&SourceModule, &Module)>,
pub collect_type_allocation_stats: bool,
}Expand description
Port of Luau::FrontendOptions from Analysis/include/Luau/Frontend.h.
Fields§
§retain_full_type_graphs: bool§for_autocomplete: bool§run_lint_checks: bool§randomize_constraint_resolution_seed: Option<u32>§enabled_lint_warnings: Option<LintOptions>§cancellation_token: Option<Arc<FrontendCancellationToken>>§module_time_limit_sec: Option<f64>§apply_internal_limit_scaling: bool§custom_module_check: Option<fn(&SourceModule, &Module)>§collect_type_allocation_stats: boolTrait Implementations§
Source§impl Clone for FrontendOptions
impl Clone for FrontendOptions
Source§fn clone(&self) -> FrontendOptions
fn clone(&self) -> FrontendOptions
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 moreSource§impl Debug for FrontendOptions
impl Debug for FrontendOptions
Auto Trait Implementations§
impl Freeze for FrontendOptions
impl RefUnwindSafe for FrontendOptions
impl Send for FrontendOptions
impl Sync for FrontendOptions
impl Unpin for FrontendOptions
impl UnsafeUnpin for FrontendOptions
impl UnwindSafe for FrontendOptions
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