pub trait EsReserved {
// Required methods
fn is_reserved(&self) -> bool;
fn is_reserved_in_strict_mode(&self, is_module: bool) -> bool;
fn is_reserved_in_strict_bind(&self) -> bool;
fn is_reserved_in_es3(&self) -> bool;
fn is_reserved_in_any(&self) -> bool;
}Required Methods§
fn is_reserved(&self) -> bool
fn is_reserved_in_strict_mode(&self, is_module: bool) -> bool
fn is_reserved_in_strict_bind(&self) -> bool
fn is_reserved_in_es3(&self) -> bool
fn is_reserved_in_any(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".