pub struct SassVariableDeclaration<'s> {
pub namespace: Option<Ident<'s>>,
pub name: SassVariable<'s>,
pub colon_span: Span,
pub value: ComponentValue<'s>,
pub flags: Vec<SassFlag<'s>>,
pub span: Span,
}Fields§
§namespace: Option<Ident<'s>>§name: SassVariable<'s>§colon_span: Span§value: ComponentValue<'s>§flags: Vec<SassFlag<'s>>§span: SpanTrait Implementations§
Source§impl<'s> Clone for SassVariableDeclaration<'s>
impl<'s> Clone for SassVariableDeclaration<'s>
Source§fn clone(&self) -> SassVariableDeclaration<'s>
fn clone(&self) -> SassVariableDeclaration<'s>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'s> Debug for SassVariableDeclaration<'s>
impl<'s> Debug for SassVariableDeclaration<'s>
Source§impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for SassVariableDeclaration<'s>
impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for SassVariableDeclaration<'s>
Source§impl<'s> PartialEq for SassVariableDeclaration<'s>
impl<'s> PartialEq for SassVariableDeclaration<'s>
Source§fn eq(&self, other: &SassVariableDeclaration<'s>) -> bool
fn eq(&self, other: &SassVariableDeclaration<'s>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'s> StructuralPartialEq for SassVariableDeclaration<'s>
Auto Trait Implementations§
impl<'s> Freeze for SassVariableDeclaration<'s>
impl<'s> RefUnwindSafe for SassVariableDeclaration<'s>
impl<'s> Send for SassVariableDeclaration<'s>
impl<'s> Sync for SassVariableDeclaration<'s>
impl<'s> Unpin for SassVariableDeclaration<'s>
impl<'s> UnsafeUnpin for SassVariableDeclaration<'s>
impl<'s> UnwindSafe for SassVariableDeclaration<'s>
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