pub struct ScssError {
pub span: Range<usize>,
pub message: String,
}Expand description
An error node
Fields§
§span: Range<usize>The source range of the error
message: StringThe error message
Implementations§
Source§impl ScssError
impl ScssError
Sourcepub fn traverse<V: ScssVisitor>(&self, visitor: &mut V)
pub fn traverse<V: ScssVisitor>(&self, visitor: &mut V)
Traverses the error with the given visitor.
Sourcepub fn traverse_mut<V: ScssVisitorMut>(&mut self, visitor: &mut V)
pub fn traverse_mut<V: ScssVisitorMut>(&mut self, visitor: &mut V)
Mutably traverses the error with the given visitor.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScssError
impl RefUnwindSafe for ScssError
impl Send for ScssError
impl Sync for ScssError
impl Unpin for ScssError
impl UnsafeUnpin for ScssError
impl UnwindSafe for ScssError
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