pub enum InterpretedValue {
Value(String),
Set,
Unset,
}Expand description
Variants§
Value(String)
A custom value with all necessary interpolations applied.
Set
No explicit value. This is typically interpreted as either
boolean true or a default value for a built-in attribute.
Unset
Explicitly unset. This is typically interpreted as boolean false.
Trait Implementations§
Source§impl Clone for InterpretedValue
impl Clone for InterpretedValue
Source§fn clone(&self) -> InterpretedValue
fn clone(&self) -> InterpretedValue
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 moreSource§impl Debug for InterpretedValue
impl Debug for InterpretedValue
Source§impl PartialEq for InterpretedValue
impl PartialEq for InterpretedValue
impl Eq for InterpretedValue
impl StructuralPartialEq for InterpretedValue
Auto Trait Implementations§
impl Freeze for InterpretedValue
impl RefUnwindSafe for InterpretedValue
impl Send for InterpretedValue
impl Sync for InterpretedValue
impl Unpin for InterpretedValue
impl UnwindSafe for InterpretedValue
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