pub struct ModeData<'s> { /* private fields */ }Implementations§
Source§impl ModeData<'_>
impl ModeData<'_>
pub fn new(default: Mode) -> Self
pub fn is_pure_mode(&self) -> bool
pub fn mark_pure_ignore(&mut self)
pub fn mark_pure_no_check(&mut self)
pub fn is_pure_check_disabled(&self) -> bool
pub fn enter_block(&mut self, block_nesting_level: u32)
pub fn clear_pure_ignore_pending(&mut self)
pub fn exit_block(&mut self, block_nesting_level: u32)
pub fn is_current_local_mode(&self) -> bool
pub fn is_property_local_mode(&self) -> bool
pub fn default_mode(&self) -> Mode
pub fn set_current_mode(&mut self, mode: Mode)
pub fn set_property_mode(&mut self, mode: Mode)
pub fn is_inside_mode_function(&self) -> bool
pub fn is_inside_mode_class(&self) -> bool
pub fn is_mode_explicit(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<'s> Freeze for ModeData<'s>
impl<'s> RefUnwindSafe for ModeData<'s>
impl<'s> Send for ModeData<'s>
impl<'s> Sync for ModeData<'s>
impl<'s> Unpin for ModeData<'s>
impl<'s> UnsafeUnpin for ModeData<'s>
impl<'s> UnwindSafe for ModeData<'s>
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