pub struct ScssWhileStatement {
pub span: Range<usize>,
pub condition: String,
pub block: ScssBlock,
}Expand description
A while statement
Fields§
§span: Range<usize>The source range of the while statement
condition: StringThe condition
block: ScssBlockThe block
Implementations§
Source§impl ScssWhileStatement
impl ScssWhileStatement
Sourcepub fn traverse<V: ScssVisitor>(&self, visitor: &mut V)
pub fn traverse<V: ScssVisitor>(&self, visitor: &mut V)
Traverses the while 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 while statement with the given visitor.
Trait Implementations§
Source§impl Clone for ScssWhileStatement
impl Clone for ScssWhileStatement
Source§fn clone(&self) -> ScssWhileStatement
fn clone(&self) -> ScssWhileStatement
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 ScssWhileStatement
impl RefUnwindSafe for ScssWhileStatement
impl Send for ScssWhileStatement
impl Sync for ScssWhileStatement
impl Unpin for ScssWhileStatement
impl UnsafeUnpin for ScssWhileStatement
impl UnwindSafe for ScssWhileStatement
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