pub enum NixBuiltin {
Show 74 variants
IsInt,
IsFloat,
IsBool,
IsString,
IsPath,
IsNull,
IsList,
IsAttrs,
IsFunction,
StringLength,
SubString,
Concat,
ConcatStringsSep,
ToString,
ParseInt,
ParseFloat,
ToLower,
ToUpper,
HasSuffix,
HasPrefix,
StringSplit,
ReplaceStrings,
Length,
Head,
Tail,
Filter,
Map,
FoldLeft,
FoldRight,
Concatmap,
Elem,
ElemAt,
Flatten,
Sort,
Partition,
GroupBy,
ZipAttrsWith,
Unique,
Reversal,
Intersect,
SubtractLists,
ListToAttrs,
AttrNames,
AttrValues,
HasAttr,
GetAttr,
Intersect2,
RemoveAttrs,
MapAttrs,
FilterAttrs,
Foldl2,
ToJSON,
FromJSON,
ToTOML,
ReadFile,
ReadDir,
PathExists,
BaseName,
DirOf,
ToPath,
StorePath,
DerivationStrict,
PlaceholderOf,
HashString,
HashFile,
TypeOf,
Seq,
DeepSeq,
Trace,
Abort,
Throw,
CurrentSystem,
CurrentTime,
NixVersion,
}Expand description
Identifiers for Nix built-in functions.
Variants§
IsInt
IsFloat
IsBool
IsString
IsPath
IsNull
IsList
IsAttrs
IsFunction
StringLength
SubString
Concat
ConcatStringsSep
ToString
ParseInt
ParseFloat
ToLower
ToUpper
HasSuffix
HasPrefix
StringSplit
ReplaceStrings
Length
Head
Tail
Filter
Map
FoldLeft
FoldRight
Concatmap
Elem
ElemAt
Flatten
Sort
Partition
GroupBy
ZipAttrsWith
Unique
Reversal
Intersect
SubtractLists
ListToAttrs
AttrNames
AttrValues
HasAttr
GetAttr
Intersect2
RemoveAttrs
MapAttrs
FilterAttrs
Foldl2
ToJSON
FromJSON
ToTOML
ReadFile
ReadDir
PathExists
BaseName
DirOf
ToPath
StorePath
DerivationStrict
PlaceholderOf
HashString
HashFile
TypeOf
Seq
DeepSeq
Trace
Abort
Throw
CurrentSystem
CurrentTime
NixVersion
Trait Implementations§
Source§impl Clone for NixBuiltin
impl Clone for NixBuiltin
Source§fn clone(&self) -> NixBuiltin
fn clone(&self) -> NixBuiltin
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 NixBuiltin
impl Debug for NixBuiltin
Source§impl Display for NixBuiltin
impl Display for NixBuiltin
Source§impl Hash for NixBuiltin
impl Hash for NixBuiltin
Source§impl PartialEq for NixBuiltin
impl PartialEq for NixBuiltin
impl Copy for NixBuiltin
impl Eq for NixBuiltin
impl StructuralPartialEq for NixBuiltin
Auto Trait Implementations§
impl Freeze for NixBuiltin
impl RefUnwindSafe for NixBuiltin
impl Send for NixBuiltin
impl Sync for NixBuiltin
impl Unpin for NixBuiltin
impl UnsafeUnpin for NixBuiltin
impl UnwindSafe for NixBuiltin
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