pub struct LoggerWarnOptions {
    pub deprecation: bool,
    pub span: Option<SourceSpan>,
    pub stack: Option<String>,
    /* private fields */
}
Expand description

Options for Logger::warn.

More information

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.