pub struct ScssIncludeStatement {
pub span: Range<usize>,
pub name: String,
pub arguments: Vec<ScssArgument>,
pub block: Option<ScssBlock>,
}Expand description
An include statement
Fields§
§span: Range<usize>The source range of the include statement
name: StringThe mixin name
arguments: Vec<ScssArgument>The arguments
block: Option<ScssBlock>The block (optional)
Implementations§
Source§impl ScssIncludeStatement
impl ScssIncludeStatement
Sourcepub fn traverse<V: ScssVisitor>(&self, visitor: &mut V)
pub fn traverse<V: ScssVisitor>(&self, visitor: &mut V)
Traverses the include statement 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 include statement with the given visitor.
Trait Implementations§
Source§impl Clone for ScssIncludeStatement
impl Clone for ScssIncludeStatement
Source§fn clone(&self) -> ScssIncludeStatement
fn clone(&self) -> ScssIncludeStatement
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 ScssIncludeStatement
impl RefUnwindSafe for ScssIncludeStatement
impl Send for ScssIncludeStatement
impl Sync for ScssIncludeStatement
impl Unpin for ScssIncludeStatement
impl UnsafeUnpin for ScssIncludeStatement
impl UnwindSafe for ScssIncludeStatement
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