pub(crate) struct CallOpts {
pub disallow_invoking_implicit_constructors: bool,
pub disallow_optional_object_property: bool,
pub allow_private_names: bool,
pub do_not_check_object: bool,
pub do_not_use_any_for_computed_key: bool,
}
Fields
disallow_invoking_implicit_constructors: bool
disallow_optional_object_property: bool
Optional properties cannot be called.
See: for-of29.ts
allow_private_names: bool
If false, private members are not allowed.
do_not_check_object: bool
Used to prevent infinite recursion.
do_not_use_any_for_computed_key: bool
Trait Implementations
impl Copy for CallOpts
Auto Trait Implementations
impl RefUnwindSafe for CallOpts
impl Send for CallOpts
impl Sync for CallOpts
impl Unpin for CallOpts
impl UnwindSafe for CallOpts
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more