pub enum SetValue {
Str(String),
Int(i64),
Float(f64),
Length(f64, LengthUnit),
Ident(String),
}Expand description
Literal values recognised inside a #set body. Full expression
evaluation (#let, function calls, if) is deferred to MVP 5; this
covers what the manifest examples actually use.
Variants§
Trait Implementations§
impl StructuralPartialEq for SetValue
Auto Trait Implementations§
impl Freeze for SetValue
impl RefUnwindSafe for SetValue
impl Send for SetValue
impl Sync for SetValue
impl Unpin for SetValue
impl UnsafeUnpin for SetValue
impl UnwindSafe for SetValue
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