Struct css_module_lexer::ModeData
source · pub struct ModeData { /* private fields */ }
Implementations§
source§impl ModeData
impl ModeData
pub fn new(default: Mode) -> Self
pub fn is_pure_mode(&self) -> bool
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 Freeze for ModeData
impl RefUnwindSafe for ModeData
impl Send for ModeData
impl Sync for ModeData
impl Unpin for ModeData
impl UnwindSafe for ModeData
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