pub struct ScssForStatement {
pub span: Range<usize>,
pub variable: String,
pub start: String,
pub end: String,
pub inclusive: bool,
pub block: ScssBlock,
}Expand description
A for statement
Fields§
§span: Range<usize>The source range of the for statement
variable: StringThe variable name
start: StringThe start value
end: StringThe end value
inclusive: boolWhether it’s an inclusive range (through) or exclusive (to)
block: ScssBlockThe block
Implementations§
Source§impl ScssForStatement
impl ScssForStatement
Sourcepub fn traverse<V: ScssVisitor>(&self, visitor: &mut V)
pub fn traverse<V: ScssVisitor>(&self, visitor: &mut V)
Traverses the for 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 for statement with the given visitor.
Trait Implementations§
Source§impl Clone for ScssForStatement
impl Clone for ScssForStatement
Source§fn clone(&self) -> ScssForStatement
fn clone(&self) -> ScssForStatement
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 ScssForStatement
impl RefUnwindSafe for ScssForStatement
impl Send for ScssForStatement
impl Sync for ScssForStatement
impl Unpin for ScssForStatement
impl UnsafeUnpin for ScssForStatement
impl UnwindSafe for ScssForStatement
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