pub struct LoggerWarnOptions {
pub deprecation: bool,
pub span: Option<SourceSpan>,
pub stack: Option<String>,
/* private fields */
}
Expand description
Options for Logger::warn.
More information: Sass documentation
Fields§
§deprecation: bool
Whether this is a deprecation warning.
span: Option<SourceSpan>
The location in the Sass source code that generated this warning.
stack: Option<String>
The Sass stack trace at the point the warning was issued.
Auto Trait Implementations§
impl Freeze for LoggerWarnOptions
impl RefUnwindSafe for LoggerWarnOptions
impl Send for LoggerWarnOptions
impl Sync for LoggerWarnOptions
impl Unpin for LoggerWarnOptions
impl UnwindSafe for LoggerWarnOptions
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