devela

Module all

Source
Expand description

All the crate’s items re-exported flat.


Note that these items are already re-exported (hidden) from the root, as is every other public module’s contents from their parent.

Macros§

  • A helper for constructing macro constants.
  • core Create a const raw pointer to a place, without creating an intermediate reference.
  • core Create a mut raw pointer to a place, without creating an intermediate reference.
  • Initializes a [$T; $LEN] array in multiple ways.
  • core Inline assembly.
  • core Asserts that a boolean expression is true at runtime.
  • Asserts the approximate equality of a series of expressions within tolerance.
  • core Asserts that two expressions are equal to each other.
  • Asserts the equality of a series of expressions.
  • core Asserts that two expressions are not equal to each other.
  • bitfield_bit··
    Creates a custom bit field struct.
  • Captures the first token from a list of inputs.
  • Captures the last token from a list of inputs.
  • Captures all the tokens except the first one, as a tuple.
  • cdbgstd
    customizable dbg! macro.
  • core Evaluates boolean combinations of configuration flags at compile-time.
  • A macro for defining #[cfg] if-else statements.
  • A for loop that is usable in compile-time contexts.
  • devela_macros Evaluates to either a true of false literal based on the predicate.
  • devela_macros Returns the first non-empty argument.
  • core Expands to the column number at which it was invoked.
  • core Expands to the file name at which it was invoked.
  • core Expands to the line number at which it was invoked.
  • core Expands to a string representing the current module path.
  • core Causes compilation to fail with the given error message when encountered.
  • core Concatenates literals into a static string slice.
  • Asserts various comparisons on constants.
  • Converts a const bool expression to a type-level boolean.
  • Swaps two mutable variables in a compile-time friendly manner.
  • core Asserts that a boolean expression is true at runtime.
  • core Asserts that two expressions are equal to each other.
  • core Asserts that two expressions are not equal to each other.
  • Configures a feature as deprecated, warning if it is enabled.
  • detect_aarch64std and (AArch64 or target_arch="arm64ec")
    std Tests at runtime whether an aarch64 feature is enabled.
  • detect_x86std and (x86 or x86-64)
    std Tests at runtime whether an x86/x86-64 feature is enabled.
  • devela_macros Generates a unit-only enum with variants associated to a specified range.
  • enumset_bit_·
    Defines an enum and an associated type set of its variants.
  • core Inspects an environment variable at compile time.
  • devela_macros Generates an expression for accessing a field of a tuple or struct.
  • formatalloc
    alloc Creates a String using interpolation of runtime expressions.
  • core Constructs parameters for the other string-formatting macros.
  • Returns a formatted str slice backed by a buffer, non-allocating.
  • core Module-level inline assembly.
  • A macro for constructing a unique sequential identifier generator.
  • Defines a constant for every given identifier with a value of its index in the list.
  • devela_macros Returns the total number of identifiers in its input.
  • devela_macros Returns the numbers of both total and unique identifiers in its input.
  • devela_macros Returns the number of unique identifiers in its input.
  • inline if macro.
  • Implements a NonValue[I|U]B<V>.
  • A helper macro to concisely implement a few common utility traits.
  • core Parses a file as an expression or an item according to the context.
  • core Includes a file as a reference to a byte array.
  • Includes a Rust source file relative to the project’s directory.
  • core Includes a UTF-8 encoded file as a string.
  • Groups items together and expands them as if they were written directly.
  • Declares a module by including a Rust source file relative to the project’s directory.
  • core Expands to the offset in bytes of a field from the beginning of the given type.
  • core Optionally inspects an environment variable at compile time.
  • core Panics the current thread.
  • paste Allows to paste identifiers together.
  • core Constructs a Pin<&mut T>, by pinning a value: T locally.
  • skip formatting wrapper macro.
  • Returns the size of an expression in bytes.
  • A more compact Thread::sleep.
  • strdep_const_str
    &str compile-time operations, namespaced from the const-str crate.
  • core Stringifies its arguments.
  • core Extracts the successful type of a TaskPoll<T>.
  • std Declare a new thread local storage key of type ThreadLocalKey.
  • core Indicates unfinished code.
  • Defines zero-cost, zero-sized, generic marker IDs.
  • Defines zero-cost, zero-sized, type-safe resource IDs.
  • core Indicates unimplemented code.
  • core Indicates unreachable code.
  • An unwrapper macro that works in compile-time.
  • vec_alloc
    alloc Creates a Vec containing the arguments.
  • core Writes formatted data into a buffer.
  • core Writes formatted data into a buffer, with a newline appended.

Structs§

  • Memory-allocation-related operations.
  • Anglegeom
    A generic angle.
  • Arcalloc
    alloc A thread-safe reference-counting pointer.
  • ArcWeakalloc
    alloc A version of Arc that holds a non-owning reference to the managed allocation.
  • Arch-related functionality.
  • An archived Array
  • An archived Array2d
  • An archived BareBox
  • An archived Boxed
  • An archived Destaque
  • An archived Stack
  • A static 1-dimensional array backed by the core array primitive.
  • A static 2-dimensional Array.
  • The resolver for an archived Array2d
  • A formatting wrapper for core arrays, implementing Display and Debug.
  • 🔄 core A by-value array iterator.
  • The resolver for an archived Array
  • ArrayUninitunsafe_array
    A static array allowing uninitialized elements.
  • Provides ASCII operations on T, most of them const.
  • Atomicdep_atomic
    ⚛️ atomic A generic atomic wrapper type.
  • ⚛️ ?core A boolean type which can be safely shared between threads.
  • AtomicF32dep_portable_atomic
    ⚛️ portable-atomic A floating point type which can be safely shared between threads.
  • AtomicF64dep_portable_atomic
    ⚛️ portable-atomic A floating point type which can be safely shared between threads.
  • ⚛️ ?core A signed integer type which can be safely shared between threads.
  • ⚛️ ?core A signed integer type which can be safely shared between threads.
  • ⚛️ ?core A signed integer type which can be safely shared between threads.
  • ⚛️ ?core A signed integer type which can be safely shared between threads.
  • AtomicI128dep_portable_atomic
    ⚛️ portable-atomic A signed integer type which can be safely shared between threads.
  • ⚛️ ?core A signed integer type which can be safely shared between threads.
  • ⚛️ ?core A raw pointer type which can be safely shared between threads.
  • ⚛️ ?core An unsigned integer type which can be safely shared between threads.
  • ⚛️ ?core An unsigned integer type which can be safely shared between threads.
  • ⚛️ ?core An unsigned integer type which can be safely shared between threads.
  • ⚛️ ?core An unsigned integer type which can be safely shared between threads.
  • AtomicU128dep_portable_atomic
    ⚛️ portable-atomic An unsigned integer type which can be safely shared between threads.
  • ⚛️ ?core An unsigned integer type which can be safely shared between threads.
  • alloc An ordered map based on a B-Tree.
  • alloc An ordered set based on a B-Tree.
  • std A captured OS thread stack backtrace.
  • A no-op pointer type, like a Box but without affecting how T is stored.
  • The resolver for an archived BareBox
  • std Enables multiple threads to synchronize the beginning of some computation.
  • std Returned by Barrier::wait() when all threads in the Barrier have rendezvoused.
  • alloc A priority queue implemented with a binary heap.
  • Bitwise_bit··
    Provides constant bitwise operations on T.
  • Boxalloc
    alloc A pointer type that uniquely owns a heap allocation of type T.
  • Boxedalloc
    A zero-sized marker for a Storage type that wraps its data in a Box.
  • The resolver for an archived Boxed
  • A utility struct for searching bytes in slices.
  • core Representation of a borrowed C string (See CString).
  • alloc An owned, C-compatible, nul-terminated string with no nul bytes in the middle.
  • Aligns and pads a value to the length of a cache line.
  • Castprim···
    Provides const casting, joining and splitting operations between primitives.
  • core A mutable memory location.
  • Unicode scalars-related operations.
  • Colorcolor
    Color namespace for constants and methods
  • Provides comparing methods for T.
  • std A Condition Variable
  • An immutable, append-only, linear, functional, non-contiguous, list.
  • 🔄 Iterates over the contents of a ConstList.
  • Corounsafe_async
    Represents a single thread stackless coroutine.
  • CoroRununsafe_async and alloc
    A managed dynamic collection of single-thread Coroutines.
  • CoroYieldunsafe_async
    A future that alternates between Ready and Pending status each time it’s polled.
  • 🚩 The value has surpassed the bounds of the representable data space.
  • core A struct to help with Debug implementations.
  • core A struct to help with Debug implementations.
  • core A struct to help with Debug implementations.
  • core A struct to help with Debug implementations.
  • core A struct to help with Debug implementations.
  • A static double-ended queue and stack backed by an Array.
  • 🔄 An iterator over Destaque elements.
  • The resolver for an archived Destaque
  • core Opaque type representing the discriminant of an enum.
  • Faster divisor for division and modulo operations.
  • DstArrayunsafe_layout
    A static array for storing DSTs.
  • DstQueueunsafe_layout
    A statically allocated FIFO queue of DSTs.
  • DstQueueIterunsafe_layout
    🔄 An iterator over the elements of a DstQueue.
  • DstQueueIterMutunsafe_layout
    🔄 A mutable iterator over the elements of a DstQueue.
  • DstQueuePopHandleunsafe_layout
    Handle returned by DstQueue::pop (does the actual pop on drop).
  • DstStackunsafe_layout
    A statically allocated LIFO stack of DSTs.
  • DstStackIterunsafe_layout
    🔄 An iterator over the elements of a DstStack.
  • DstStackIterMutunsafe_layout
    🔄 A mutable iterator over the elements of a DstStack.
  • DstValueunsafe_layout
    A statically allocated DST value.
  • core A span of time, with u64 seconds and u32 nanoseconds.
  • 🚩 core Error returned from converting floating-point seconds into a Duration.
  • 🚩 The requested element has not been found.
  • A namespaced wrapper for std::env functions and constants.
  • Extentgeom
    An orthogonal extension in D-space without a coordinate position.
  • 🚩 A failed conversion between two error types.
  • A type-level logical false.
  • Represents a fat pointer with separate data and metadata pointers.
  • Provides comprehensive floating-point operations for T, most of them const.
  • core Represents a safely precompiled version of a format string and its arguments.
  • 🚩 core The error type which is returned from formatting a message into a stream.
  • core Configuration for formatting.
  • Provides comprehensive fractional operations on T, most of them const.
  • core A future which never resolves, representing a computation that never finishes.
  • core A Future that wraps a function returning TaskPoll.
  • core A future that is immediately ready with a value.
  • A return type for the calculated GCD and the Bézout coeficients.
  • An EGC backed by a StringNonul.
  • An EGC backed by a String.
  • An EGC backed by an StringU8.
  • HashMapdep_hashbrown or std
    std? An unordered hash map implemented with quadratic probing and SIMD lookup.
  • HashSetdep_hashbrown or std
    std? An unordered hash set implemented as a HashMap where the value is ()
  • core Create a default HasherBuild instance for T:Hasher+Default types.
  • HasherFnvhash and cast
    A Fowler–Noll–Vo hasher.
  • This hashing algorithm was extracted from the Rustc compiler.
  • A fast 64-bit non-cryptographic hash algorithm
  • A unique identifier based on a pinned stack-allocated reference.
  • A unique identifier based on a pinned heap-allocated memory address.
  • 🚩 The given index is out of bounds.
  • Provides comprehensive integer operations on T, most of them const.
  • Represents an interval with a lower and an upper bound.
  • 🚩 The given axis has an invalid length.
  • 🚩 An invalid given character was found.
  • 🚩 Invalid Utf-8 found while interpreting a byte sequence.
  • ?std Adds buffering to any reader.
  • ?std Wraps a writer and buffers its output.
  • ?std An iterator over u8 values of a reader.
  • ?std Adapter to chain together two readers.
  • ?std Wraps an in-memory buffer and provides it with a IoSeek implementation.
  • 🚩+ ?std Error type for I/O operations of IoRead, IoWrite, IoSeek, and associated traits.
  • ?std Like BufWriter, but flushing whenever a newline (0x0a, ' ') is detected.
  • std An iterator over the lines of an instance of IoBufRead.
  • std A writer which will move data into the void.
  • std A buffer type used with IoWrite::write_vectored.
  • std A buffer type used with IoRead::read_vectored.
  • std An iterator over the contents of an instance of BufRead split on a particular byte.
  • ?std Reader adapter which limits the bytes read from an underlying reader.
  • 🔄 core An iterator that links two iterators together, in a chain.
  • 🔄 core An iterator over the chars of a string slice.
  • 🔄 core An iterator that clones the elements of an underlying iterator.
  • 🔄 core An iterator that copies the elements of an underlying iterator.
  • 🔄 core An iterator that repeats endlessly.
  • 🔄 core An iterator that yields nothing.
  • 🔄 core An iterator that yields the current count and the element during iteration.
  • 🔄 core An iterator that filters the elements of iter with predicate.
  • 🔄 core An iterator that uses f to both filter and map elements from iter.
  • 🔄 core An iterator that maps each element to an iterator, and yields their elements.
  • 🔄 core An iterator that flattens one level of nesting in an iterator of iterables.
  • 🔄 core An iterator where each iteration calls a closure F: FnMut() -> Option<T>.
  • 🔄 core An iterator that yields None forever after the underlying yields None once.
  • 🔄 core An iterator that calls a fn with a reference to each element before yielding it.
  • 🔄 core An iterator that maps the values of iter with f.
  • 🔄 core An iterator that only accepts elements while predicate returns Some(_).
  • 🔄 core An iterator that yields an element exactly once.
  • 🔄 core An iterator that yields a single element A by calling F: FnOnce() -> A.
  • std An iterator over the IterPathComponents of a Path, as OsStr slices.
  • 🔄 std An iterator over Path and its ancestors.
  • 🔄 std An iterator over the Components of a Path.
  • 🔄 core An iterator with a peek() that returns an optional ref to the next element.
  • 🔄 core An iterator that repeats an element endlessly.
  • 🔄 core An iterator that endlessly repeats A by calling F: FnMut() -> A.
  • 🔄 core A double-ended iterator with the direction inverted.
  • 🔄 core An iterator to maintain state while iterating another iterator.
  • 🔄 core An iterator that skips over n elements of iter.
  • 🔄 core An iterator that rejects elements while predicate returns true.
  • 🔄 core An iterator for stepping iterators by a custom amount.
  • 🔄 core An iterator where each successive item is computed based on the preceding one.
  • 🔄 core An iterator that only iterates over the first n iterations of iter.
  • 🔄 core An iterator that only accepts elements while predicate returns true.
  • 🔄 core An iterator that iterates two other iterators simultaneously.
  • 🚩 The key already exists.
  • Linux sys/errno.h constants.
  • Linux file descriptor constants.
  • Linux ioctl constants.
  • Linux flag constants for LinuxSigaction.
  • Linux standard signals constants.
  • Linux sys/syscall.h constants for aarch64.
  • Linux sys/syscall.h constants for armv7.
  • Linux sys/syscall.h constants for riscv.
  • Linux sys/syscall.h constants for x86.
  • Linux sys/syscall.h constants for x86_64.
  • LinuxTermios control flags.
  • LinuxTermios input flags.
  • LinuxTermios local flags.
  • LinuxTermios output flags.
  • Layoutalloc
    alloc Layout of a block of memory.
  • alloc The parameters given to a Layout constructor did not satisfy the constraints.
  • core A value which is initialized on the first access.
  • Lgc16rand
    A 16-bit LCG pseudo-random number generator.
  • alloc A doubly-linked list with owned nodes.
  • Represents the sigaction structure from libc. Examine and change a signal action.
  • A set of signals.
  • LinuxTerminalunsafe_syscall and linux
    Linux terminal manager.
  • The size of the terminal.
  • Represents the termios structure from libc, used to control terminal I/O.
  • Represents the timespec structure from libc. Time in seconds and nanoseconds.
  • core A wrapper to inhibit compiler from automatically calling T’s destructor.
  • Memory-related operations.
  • Represents a mismatch between an expected need and an encountered have.
  • 🚩 The given capacity did not match the required constraints.
  • 🚩 The dimensions given did not match the elements provided.
  • 🚩 The given indices does not match the expected order.
  • std A mutual exclusion primitive useful for protecting shared data
  • std An RAII implementation of a “scoped lock” of a mutex.
  • 🚩 The node is empty.
  • 🚩 The link is not set.
  • 🚩 The link is not unique.
  • A signed integer that is known not to equal some specific value.
  • An unsigned integer that is known not to equal some specific value.
  • An unsigned integer that is known not to equal some specific value.
  • core A value that is known not to equal zero.
  • 🚩 There are not enough elements for the operation.
  • 🚩 There is not enough free space for the operation.
  • 🚩 The requested functionality is not implemented.
  • 🚩 The requested functionality is not supported by this type.
  • Oncestd
    std A synchronization primitive which can be used to run a one-time global initialization.
  • core A cell which can nominally be written to only once.
  • std A synchronization primitive which can be written to only once.
  • std State yielded to Once::call_once_force()’s closure parameter.
  • The type returned from ExtOption::fmt_or_empty.
  • The type returned from ExtOption::fmt_or.
  • The type returned from ExtOption::fmt_or_else.
  • std Borrowed reference to an OS string (See OsString).
  • std A type that can represent owned, mutable platform-native strings, but is cheaply inter-convertible with Rust strings.
  • A return type encapsulating an owned state S and a value V.
  • core A simple wrapper around a type to assert that it is unwind safe.
  • core A struct providing information about a panic.
  • core A struct containing information about the location of a panic.
  • 🚩 core An error which can be returned when parsing an float.
  • 🚩 core An error which can be returned when parsing an integer.
  • 🚩 The operation could only add a subset of the elements.
  • Pathstd
    std A slice of a path (akin to str).
  • std An owned, mutable path (akin to String).
  • std Helper struct for safely printing paths with format! and {}.
  • std Wraps a Windows path prefix as well as its unparsed string representation.
  • 🚩 std An error returned from Path::strip_prefix if the prefix was not found.
  • core Zero-sized type used to mark things that “act like” they own a T.
  • core A marker type which does not implement Unpin.
  • core A pointer which pins its pointee in place.
  • Pinnedunsafe_ptr
    A wrapper for structurally pinned data.
  • Pnmimage
    A collection of methods for encoding and decoding PNM bitmap formats.
  • Pointgeom
    A coordinate position in D-space without extent.
  • Pointsgeom
    A static sequence of N D-dimensional Points.
  • 🚩 std A type of error which can be returned whenever a lock is acquired.
  • Pointer-related operations.
  • core *mut T but non-zero and covariant.
  • std The default state for HashMapStd.
  • core A range bounded inclusively below and exclusively above (start..end).
  • core A range only bounded inclusively below (start..).
  • core An unbounded range (..).
  • core A range bounded inclusively below and above (start..=end).
  • core A range only bounded exclusively above (..end).
  • core A range only bounded inclusively above (..=end).
  • Rcalloc
    alloc A single-threaded reference-counting pointer.
  • RcWeakalloc
    alloc A version of Rc that holds a non-owning reference to the managed allocation.
  • core A wrapper type for an inmutably borrowed value from a RefCell<T>
  • core A mutable memory location with dynamically checked borrow rules.
  • core A wrapper type for a mutably borrowed value from a RefCell<T>
  • core A helper struct for reverse ordering.
  • std A reader-writer lock
  • std RAII structure used to release the shared read access of a lock when dropped.
  • std RAII structure used to release the exclusive write access of a lock when dropped.
  • core Provides intentionally-saturating arithmetic on T.
  • Slice-related operations, most of them const.
  • Provides sorting methods for arrays and slices of T, some of them const.
  • A static stack backed by an Array.
  • 🔄 An iterator over Stack elements.
  • The resolver for an archived Stack
  • Strstr
    A string slice namespace.
  • Stringalloc
    alloc A UTF-8–encoded, growable string.
  • StringNonul_string_nonul
    A UTF-8-encoded string, backed by an array with u8::MAX bytes of capacity. Can’t contain nul chars.
  • StringU8_string_u8
    A UTF-8–encoded string, backed by an array with u8::MAX bytes of capacity.
  • StringU16_string_u16
    A UTF-8–encoded string, backed by an array with u16::MAX bytes of capacity.
  • StringU32_string_u32
    A UTF-8–encoded string, backed by an array with u32::MAX bytes of capacity.
  • StringUsize_string_usize
    A UTF-8–encoded string, backed by an array with usize::MAX bytes of capacity.
  • std A measurement of a monotonically nondecreasing clock.
  • std A measurement of the system clock.
  • 🚩 An error returned from the duration_since and elapsed methods on SystemTime.
  • core The context of an asynchronous task.
  • core Allows the implementor of a task executor to create a TaskWaker.
  • core A virtual function pointer table that specifies the behavior of a TaskRawWaker.
  • core A handle for waking up a task by notifying its executor that it is ready to be run.
  • std A handle to a thread.
  • std An error returned by ThreadLocalKey::try_with.
  • std Thread factory, which can be used in order to configure the properties of a new thread.
  • std A unique identifier for a running thread.
  • std An owned permission to join on a thread (block on its termination).
  • std A thread local storage key which owns its contents.
  • std A scope to spawn scoped threads in.
  • std An owned permission to join on a scoped thread (block on its termination).
  • A full time split from years to nanoseconds.
  • Timecode splitting and formatting.
  • A type-level logical true.
  • 🚩 core The error type returned when a checked integral type conversion fails.
  • TupleFmt_tuple
    A formatting wrapper for Tuples, implementing Display and Debug.
  • TupleIter_tuple
    🔄 An iterator over elements of a Tuple.
  • 🔄 An iterator over exclusive references to elements of a Tuple.
  • 🔄 An iterator over shared references to elements of a Tuple.
  • core Represents a globally unique identifier for a type.
  • A newtype-based ID that associates a resource with its inner ID.
  • 64-bit Unix time, supporting negative values.
  • 32-bit Unix time, supporting only non-negative values.
  • core The core primitive for interior mutability in Rust.
  • A value with associated quantification.
  • Vecalloc
    alloc A contiguous growable array.
  • alloc A double-ended growable queue.
  • VecPointsgeom and alloc
    A dynamic sequence of D-dimensional Points.
  • VecVectoralg and alloc
    A dynamic vector, backed by a primitive Vec.
  • A static D-dimensional vector, backed by a primitive array.
  • std A type indicating whether a timed wait on a condition variable returned due to a time out or not.
  • A Haar wavelet is a simple, piecewise-constant wavelet.
  • WaveletUnitVecalloc and wave
    A single unit of the wavelet decomposition at a specific level and position.
  • core Provides intentionally-wrapped arithmetic on T.
  • Xabcrand
    X ABC Algorithm Random Number Generator for 8-bit Devices.
  • The XorShift8 pseudo-random number generator.
  • A version of XorShift8 that allows customizing the shift values.
  • The XorShift16 pseudo-random number generator.
  • The XorShift32 pseudo-random number generator.
  • The XorShift64 pseudo-random number generator.
  • The XorShift128 pseudo-random number generator.
  • The XorShift128+ pseudo-random number generator.
  • The Xoroshiro128++ pseudo-random number generator.
  • Xyza8arand
    A simple 8-bit pseudo-random number generator with 32-bit of state, based on the XorShift algorithm.
  • Xyza8brand
    A simple 8-bit pseudo-random number generator with 32-bit of state, based on the XorShift algorithm.
  • char7_char7
    A 7-bit unicode scalar, limited to basic latin subset (ASCII).
  • char8_char8
    An 8-bit unicode scalar, limited to basic latin and latin-1 subsets.
  • char16_char16
    A 16-bit unicode scalar, limited to the Basic Multilingual Plane subset.
  • m128dep_safe_arch
    safe_arch The data for a 128-bit SSE register of four f32 lanes.
  • m256dep_safe_arch
    safe_arch The data for a 256-bit AVX register of eight f32 lanes.
  • m128ddep_safe_arch
    safe_arch The data for a 128-bit SSE register of two f64 values.
  • m128idep_safe_arch
    safe_arch The data for a 128-bit SSE register of integer data.
  • m256ddep_safe_arch
    safe_arch The data for a 256-bit AVX register of four f64 values.
  • m256idep_safe_arch
    safe_arch The data for a 256-bit AVX register of integer data.

Enums§

Constants§

Statics§

  • LINUX_TERMINAL_STATEunsafe_syscall and linux and dep_atomic and dep_bytemuck
    State of the terminal saved globally, that can be restored from anywhere.

Traits§

  • core The addition operator +.
  • core The addition assignment operator +=.
  • core A trait to emulate dynamic typing.
  • core Used to do a cheap mutable-to-mutable reference conversion.
  • core Used to do a cheap reference-to-reference conversion.
  • core b formatting.
  • core The bitwise AND operator &.
  • core The bitwise AND assignment operator &=.
  • Provides bitwise operations on T.
  • core The bitwise OR operator |.
  • core The bitwise OR assignment operator |=.
  • Type size information in bits.
  • core The bitwise XOR operator ^.
  • core The bitwise XOR assignment operator ^=.
  • core A trait for borrowing data.
  • core A trait for mutably borrowing data.
  • Type size information in bytes.
  • Allows chaining transformations by passing values through a sequence of functions.
  • core A common trait for the ability to explicitly duplicate an object.
  • Base trait for general color data representation.
  • Allows to convert compile-time constants into type-level booleans.
  • A trait for giving a type a useful default value in compile-time.
  • core Types whose values can be duplicated simply by copying bits.
  • An abstract array data type.
  • An abstract collection data type.
  • An abstract double-ended queue data type.
  • An abstract double-ended stack data type.
  • An abstract queue data type.
  • An abstract stack data type.
  • core ? formatting.
  • core A trait for giving a type a useful default value.
  • core Used for immutable dereferencing operations, like *v.
  • core Used for mutable dereferencing operations, like in *v = 1;.
  • core Format trait for an empty format, {}.
  • core The division operator /.
  • core The division assignment operator /=.
  • core Custom code within the destructor.
  • DstBufunsafe_layout
    Represents the backing buffer for storing dynamically sized types.
  • core Trait for comparisons corresponding to equivalence relations.
  • core A trait representing the basic expectations for error values.
  • Extension trait providing convenience methods for T:Any.
  • Extension trait providing convenience methods for [T; N] arrays.
  • A trait that provides additional methods for Cell<Option>.
  • Extension trait providing additional methods for T:Error.
  • Extension trait for floating-point types. Associated methods.
  • Extension trait for floating-point types. Associated constants.
  • Extension trait providing additional methods for Futures.
  • Extension trait for type memory information and manipulation.
  • Extension trait providing additional methods for OptRes.
  • Extension trait providing additional methods for Option.
  • Extension trait providing additional methods for paths.
  • Extension trait providing additional methods for Result.
  • Extension trait providing additional methods for &[T].
  • Extension trait providing additional methods for &mut [T].
  • Extension trait providing additional methods for &str.
  • ExtStringstr and alloc
    Extension trait providing additional methods for String.
  • Extension trait providing additional methods for Threads.
  • ExtVecalloc
    Extension trait providing additional methods for Vec.
  • core The version of the call operator that takes an immutable receiver.
  • core The version of the call operator that takes a mutable receiver.
  • core The version of the call operator that takes a by-value receiver.
  • core Used to do value-to-value conversions while consuming the input value.
  • core Parse a value from a string.
  • core An asynchronous computation obtained by use of async.
  • alloc
  • Common trait for EGC types.
  • core A hashable type.
  • core A trait for hashing an arbitrary stream of bytes.
  • core A trait for creating instances of Hasher.
  • Allows attaching operations or side effects to a value without breaking its flow.
  • core Used for indexing operations (container[index]) in immutable contexts.
  • core Used for indexing operations (container[index]) in mutable contexts.
  • core A value-to-value conversion that consumes the input value.
  • core Conversion into a Future.
  • ?std A type of Reader which has an internal buffer.
  • ?std Allows for reading bytes from a source.
  • ?std Provides a cursor which can be moved within a stream of bytes.
  • ?std A trait for objects which are byte-oriented sinks.
  • core A trait for dealing with iterators.
  • core An iterator able to yield elements from both ends.
  • core An iterator that knows its exact length.
  • core Extend a collection with the contents of an iterator.
  • core Conversion from an Iterator.
  • core An iterator that always continues to yield None when exhausted.
  • core Conversion into an Iterator.
  • core Represents types that can be created by multiplying elements of an iterator.
  • core Represents types that can be created by summing up an iterator.
  • core e formatting.
  • core x formatting.
  • Marker trait to verify memory alignment between two types.
  • MemPodunsafe_layout
    Indicates a type is Plain Old Data, and meets specific memory layout guarantees.
  • core The multiplication operator *.
  • core The multiplication assignment operator *=.
  • core The unary negation operator -.
  • core The unary logical negation operator !.
  • Common trait for numeric types.
  • Common trait for integer types.
  • Common auto-trait for referenced numeric types.
  • Common auto-trait for referenced integer types.
  • Converts a number into a string representation, storing it into a byte slice.
  • A common trait for all vectors.
  • core o formatting.
  • core Trait for types that form a total order.
  • core A marker trait which represents a shared reference considered unwind safe.
  • core A marker trait which represents “panic safe” types in Rust.
  • core Trait for comparisons using the equality operator.
  • core Trait for types that form a partial order.
  • core p formatting.
  • Offers methods for casting between primitives.
  • Offers methods to construct a primitive from an array or slice of smaller primitives.
  • Offers methods to split a primitive into an array of smaller primitives.
  • core Implemented by Rust’s built-in range types
  • core The remainder operator %.
  • core The remainder assignment operator %=.
  • core Types that can be transferred across thread boundaries.
  • core Types with a constant size known at compile time.
  • Allows to be generic in respect of the data storage.
  • core The subtraction operator -.
  • core The subtraction assignment operator -=.
  • core Types for which it is safe to share references between threads.
  • alloc The implementation of waking a task on an executor.
  • core Writing or formatting into Unicode-accepting buffers or streams.
  • ToOwnedalloc
    alloc A generalization of Clone to borrowed data.
  • alloc A trait for converting a value to a String.
  • core Simple and safe type conversions that may fail in a controlled way.
  • core An attempted conversion that consumes self, which may or may not be expensive.
  • Tuple_tuple
    Extension trait providing convenience methods for tuples.
  • Represents an association between a resource and its inner data type.
  • Common trait for unicode scalar types.
  • Unitunit
    Unit prefixes.
  • core Types that do not require any pinning guarantees.
  • core E formatting.
  • core X formatting.
  • WaveletCompressionVecalloc and wave
    Trait for lossy compression of wavelet coefficients.
  • WaveletTransformVecalloc and wave
    Trait defining essential wavelet transform operations.
  • CoroutineExperimentalnightly_coro
    core The trait implemented by builtin coroutine types.

Functions§

  • core Creates an array [T; N], where each T is returned from cb from its index.
  • core Converts a mutable reference to T into &mut [T; 1] (without copying).
  • core Converts a reference to T into &[T; 1] (without copying).
  • core Makes a soundness promise to the compiler that the condition holds.
  • core A compiler memory fence.
  • core An atomic fence.
  • core Hints the compiler to be maximally pessimistic about what black_box could do.
  • Returns the rounded up size in bytes from a size in bits.
  • Returns an absolute PathBuf, relative to the crate’s root.
  • Like crate_root but returns a String.
  • alloc Takes an FmtArguments struct and returns the resulting formatted string.
  • core Takes an output stream, and an FmtArguments struct.
  • Returns a formatted str slice backed by a buffer, non-allocating.
  • Blocks the thread until the future is ready.
  • core Creates a FuturePending future.
  • core Creates a FutureReady.
  • core The identity function. Just returns back its input.
  • ?std Copies the entire contents of a reader into a writer.
  • std Creates a value that is always at EOF for reads, and ignores all data written.
  • std Read all bytes from a reader into a new String
  • std Creates an instance of a reader that infinitely repeats one byte.
  • std Creates an instance of a writer which will successfully consume all data.
  • std Constructs a new handle to the standard error of the current process.
  • std Constructs a new handle to the standard input of the current process.
  • std Constructs a new handle to the standard output of the current process.
  • Returns true if the provided year is a leap year.
  • core Creates an iterator that yields nothing.
  • core Creates an iterator that calls the given closure F: FnMut() -> Option<T>.
  • core Creates an iterator that yields an element exactly once.
  • core Creates an iterator that lazily generates a value exactly once.
  • core Creates an iterator that endlessly repeats a single element.
  • core Creates an iterator that endlessly repeats calling F: FnMut() -> A.
  • core Creates an iterator where each successive item is computed based on the previous.
  • core Converts the arguments to iterators and zips them.
  • linux_eprintunsafe_syscall and linux
    Prints a string slice to standard error.
  • linux_eprintlnunsafe_syscall and linux
    Prints a string slice to standard error, with a newline.
  • linux_get_byteunsafe_syscall and linux
    Gets a single byte from stdin.
  • linux_get_charunsafe_syscall and linux
    Gets a single char from stdin, or None if the bytes are not valid utf-8.
  • linux_get_dirty_charunsafe_syscall and linux
    Gets either a single char from stdin, or the replacement character.
  • linux_get_lineunsafe_syscall and linux
    Gets a string from stdin backed by a buffer, until a newline.
  • linux_get_strunsafe_syscall and linux
    Gets a string from stdin backed by a buffer, until the stop char is received.
  • linux_get_utf8_bytesunsafe_syscall and linux
    Gets a utf-8 encoded byte sequence from stdin representing a char.
  • linux_getpidunsafe_syscall and linux
    Returns the current process number.
  • linux_pause_until_charunsafe_syscall and linux
    Pauses execution until receiving from stdin any char in the list.
  • linux_printunsafe_syscall and linux
    Prints a string slice to standard output.
  • linux_print_bytesunsafe_syscall and linux
    Prints a byte slice to stdout.
  • linux_printlnunsafe_syscall and linux
    Prints a string slice to standard output, with a newline.
  • linux_promptunsafe_syscall and linux
    Prompts the user for a string from stdin, backed by a buffer.
  • linux_random_bytesunsafe_syscall and linux
    Fills the given buffer with random bytes that may not be cryptographically secure.
  • linux_random_u8unsafe_syscall and linux
    Generates a random u8 value that may not be criptographically secure.
  • linux_random_u16unsafe_syscall and linux
    Generates a random u16 value that may not be criptographically secure.
  • linux_random_u32unsafe_syscall and linux
    Generates a random u32 value that may not be criptographically secure.
  • linux_random_u64unsafe_syscall and linux
    Generates a random u64 value that may not be criptographically secure.
  • linux_random_u128unsafe_syscall and linux
    Generates a random u128 value that may not be criptographically secure.
  • linux_sig_handler_no_returnunsafe_syscall and linux
    Registers multiple signals using a handler function that never returns.
  • linux_sleepunsafe_syscall and linux
    Suspends execution of calling thread for duration.
  • linux_sys_exitunsafe_syscall and linux
    Performs an exit syscall.
  • linux_sys_getpidunsafe_syscall and linux
    Performs a getpid syscall.
  • linux_sys_getrandomunsafe_syscall and linux
    Performs a getrandom syscall.
  • linux_sys_ioctlunsafe_syscall and linux
    Performs an ioctl syscall.
  • linux_sys_nanosleepunsafe_syscall and linux
    Performs a nanosleep syscall.
  • linux_sys_readunsafe_syscall and linux
    Performs a read syscall.
  • linux_sys_rt_sigactionunsafe_syscall and linux
    Performs an rt_sigaction syscall.
  • linux_sys_writeunsafe_syscall and linux
    Performs a write syscall.
  • std Panic the current thread with the given message as the panic payload.
  • std Invokes a closure, capturing the cause of an unwinding panic if one occurs.
  • std Triggers a panic without invoking the panic hook.
  • std Registers a custom panic hook, replacing the previously registered hook.
  • std Unregisters the current panic hook, returns it and registers the default hook in its place.
  • prime_number_theoremstd or _float_f64
    The prime number theorem formula.
  • Wraps the given OptRes value in a Some(Err(error)).
  • Wraps the given OptRes value in a Some(Ok(value)).
  • core Signals the processor that it is running in a busy-wait spin-loop.
  • task_waker_noopunsafe_async
    Creates a new Waker that does nothing when wake is called.
  • transmuteDeprecated
    core Reinterprets the bits of a value of one type as another type.
  • core Informs the compiler that the current calling site is not reachable.
  • iter_from_coroutineExperimentalnightly_coro
    core Creates an iterator where each iteration calls the provided coroutine.

Type Aliases§

  • ⚖️ An audio-related result.
  • core A zero-sized marker for a Storage type that wraps its data in a BareBox.
  • ⚖️ A color-related result.
  • DestaqueU8_destaque_u8
    A Destaque with an 8-bit index size.
  • DestaqueU16_destaque_u16
    A Destaque with a 16-bit index size.
  • DestaqueU32_destaque_u32
    A Destaque with a 32-bit index size.
  • DestaqueUsize_destaque_usize
    A Destaque with a pointer-sized index size.
  • ⚖️ A drawing-related result.
  • DstArrayUsizeunsafe_layout
    A statically allocated buffer for storing DSTs with pointer alignment.
  • DstQueueUsizeunsafe_layout
    A statically allocated FIFO queue of DSTs with pointer alignment.
  • DstStackUsizeunsafe_layout
    A statically allocated LIFO stack of DSTs with pointer alignment.
  • DstValueUsizeunsafe_layout
    A statically allocated DST value with pointer alignment.
  • DstVecUsizeunsafe_layout and alloc
    A dynamically allocated buffer for storing DSTs with pointer alignment.
  • A 2-dimensional Extent.
  • A 3-dimensional Extent.
  • ⚖️ The type returned by formatter methods.
  • ⚖️ A font-related result.
  • HashMapFxhash and (std, or dep_hashbrown and hash)
    A HashMap using a default Fx hasher.
  • The HashMap in the standard library.
  • HashSetFxhash and (std, or dep_hashbrown and hash)
    A HashSet using a default Fx hasher.
  • The HashSet in the standard library.
  • HasherBuildFnvhash and cast
    A builder for default Fnv hashers.
  • A builder for default Fx hashers.
  • ⚖️ An image-related result.
  • ⚖️ ?std A specialized Result type for I/O operations.
  • Linux sys/syscall.h constants for the current compilation target.
  • ⚖️ A layout-related result.
  • std A type alias for the result of a lock method which can be poisoned.
  • MediaResultmedia··
    ⚖️ A media-related result.
  • ⚖️ A midi-related result.
  • Represents the absence of a number.
  • NoTimetime
    Represents the absence of time.
  • A signed integer that is known not to equal its most extreme value (MIN).
  • An unsigned integer that is known not to equal its most extreme value (MAX).
  • An unsigned integer that is known not to equal its most extreme value (MAX).
  • core A signed integer that is known not to equal zero.
  • core A signed integer that is known not to equal zero.
  • core A signed integer that is known not to equal zero.
  • core A signed integer that is known not to equal zero.
  • core A signed integer that is known not to equal zero.
  • core A signed integer that is known not to equal zero.
  • core An unsigned integer that is known not to equal zero.
  • core An unsigned integer that is known not to equal zero.
  • core An unsigned integer that is known not to equal zero.
  • core An unsigned integer that is known not to equal zero.
  • core An unsigned integer that is known not to equal zero.
  • core An unsigned integer that is known not to equal zero.
  • ⚖️ A numeric-related result.
  • An optional result for simple ternary logic.
  • A specific position in 2d-space without a size.
  • A specific position in 3d-space without a size.
  • StackU8_stack_u8
    A Stack with an 8-bit index size.
  • StackU16_stack_u16
    A Stack with a 16-bit index size.
  • StackU32_stack_u32
    A Stack with a 32-bit index size.
  • StackUsize_stack_usize
    A Stack with a pointer-sized index size.
  • ⚖️ std A specialized Result type for threads.
  • A time split from hours to nanoseconds.
  • A time split from hours to seconds, normalized (128b size & payload).
  • A time split from hours to seconds.
  • A time split from hours to seconds, normalized (128b size, 80b payload).
  • A time split from milliseconds to nanoseconds.
  • A time split from milliseconds to nanoseconds, normalized (48b size & payload).
  • A time split from years to nanoseconds, normalized (192b size, 152b payload).
  • A time split from years to days.
  • A time split from years to days, normalized (128b size, 80b payload).
  • A time split from years to seconds.
  • A time split from years to seconds, normalized (128b size, 104b payload).
  • ⚖️ std A type alias for the result of a nonblocking locking method.
  • UiResultui··
    ⚖️ A user-interface result.
  • A static 2-dimensional vector.
  • A static 3-dimensional vector.
  • ⚙️ core Equivalent to the corresponding C type.
  • ⚙️ core Equivalent to the corresponding C type.
  • ⚙️ core Equivalent to the corresponding C type.
  • ⚙️ core Equivalent to the corresponding C type.
  • ⚙️ core Equivalent to the corresponding C type.
  • ⚙️ core Equivalent to the corresponding C type.
  • ⚙️ core Equivalent to the corresponding C type.
  • ⚙️ core Equivalent to the corresponding C type.
  • ⚙️ core Equivalent to the corresponding C type.
  • ⚙️ core Equivalent to the corresponding C type.
  • ⚙️ core Equivalent to the corresponding C type.
  • ⚙️ core Equivalent to the corresponding C type.
  • ⚙️ core Equivalent to the corresponding C type.
  • ⚙️ core A 32-bit unicode scalar.
  • ⚙️ A pointer-sized floating-point primitive.
  • ⚙️ A downcasted pointer-sized signed integer primitive.
  • ⚙️ An upcasted pointer-sized signed integer primitive.
  • ⚙️ A downcasted pointer-sized unsigned integer primitive.
  • ⚙️ An upcasted pointer-sized unsigned integer primitive.

Unions§

  • core A wrapper type to construct uninitialized instances of T.

Attribute Macros§

  • devela_macros Conditionally compiles the thing it is attached to based on the predicate.
  • devela_macros Conditionally compiles the given attributes based on the predicate.
  • autodiffExperimentalnightly_autodiff
    core Automatic Differentiation macro.

Derive Macros§

  • core Derive macro generating an impl of the trait Clone.
  • core Derive macro generating an impl of the trait Copy.
  • core ? formatting.
  • core Derive macro generating an impl of the trait Default.
  • core Derive macro generating an impl of the trait Eq.
  • core Derive macro generating an impl of the trait Hash.
  • core Derive macro generating an impl of the trait Ord. The behavior of this macro is described in detail here.
  • core Derive macro generating an impl of the trait PartialEq. The behavior of this macro is described in detail here.
  • core Derive macro generating an impl of the trait PartialOrd. The behavior of this macro is described in detail here.