pub enum ValueType {
Thunk,
Int,
Float,
Bool,
String,
Path,
Null,
Attrs,
List,
Function,
External,
}Expand description
Nix value types.
Variants§
Thunk
Thunk (unevaluated expression).
Int
Integer value.
Float
Float value.
Bool
Boolean value.
String
String value.
Path
Path value.
Null
Null value.
Attrs
Attribute set.
List
List.
Function
Function.
External
External value.
Trait Implementations§
impl Copy for ValueType
impl Eq for ValueType
impl StructuralPartialEq for ValueType
Auto Trait Implementations§
impl Freeze for ValueType
impl RefUnwindSafe for ValueType
impl Send for ValueType
impl Sync for ValueType
impl Unpin for ValueType
impl UnwindSafe for ValueType
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