pub struct VariableEntry {
pub tokens: Option<Vec<u32>>,
pub text: Option<Option<String>>,
pub descendant_text: Option<Option<String>>,
pub resolving: bool,
pub scope: Option<Weak<dyn VariableScope>>,
}Expand description
a private variable (VariableEntry)
Fields§
§tokens: Option<Vec<u32>>value tokens. None when the value is already resolved (see text)
text: Option<Option<String>>resolved value: None when it is not resolved yet (undefined), Some(None) when the value is invalid
descendant_text: Option<Option<String>>resolved value in the descendants of the element the mixin is applied to
resolving: boolthe value is being resolved: dependency cycle detection
scope: Option<Weak<dyn VariableScope>>scope used to resolve the var() functions of the value
Implementations§
Source§impl VariableEntry
impl VariableEntry
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for VariableEntry
impl !Send for VariableEntry
impl !Sync for VariableEntry
impl !UnwindSafe for VariableEntry
impl Forget for VariableEntry
impl Freeze for VariableEntry
impl Move for VariableEntry
impl Unpin for VariableEntry
impl UnsafeUnpin for VariableEntry
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