pub struct ScssComment {
pub span: Range<usize>,
pub text: String,
}Expand description
A comment
Fields§
§span: Range<usize>The source range of the comment
text: StringThe comment text
Implementations§
Source§impl ScssComment
impl ScssComment
Sourcepub fn traverse<V: ScssVisitor>(&self, visitor: &mut V)
pub fn traverse<V: ScssVisitor>(&self, visitor: &mut V)
Traverses the comment 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 comment with the given visitor.
Trait Implementations§
Source§impl Clone for ScssComment
impl Clone for ScssComment
Source§fn clone(&self) -> ScssComment
fn clone(&self) -> ScssComment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScssComment
impl RefUnwindSafe for ScssComment
impl Send for ScssComment
impl Sync for ScssComment
impl Unpin for ScssComment
impl UnsafeUnpin for ScssComment
impl UnwindSafe for ScssComment
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