An n-dimensional array.
An axis index.
The BufReader<R>
struct adds buffering to any reader.
Wraps a writer and buffers its output.
A process builder, providing fine-grained control
over how a new process should be spawned.
Dimension description.
Entries returned by the
ReadDir
iterator.
An object providing access to an open file on the filesystem.
Graph<N, E, Ty, Ix>
is a graph datastructure using an adjacency list representation.
A hash map implemented with quadratic probing and SIMD lookup.
A hash set implemented as a HashMap
where the value is ()
.
A FASTA index as created by SAMtools (.fai).
A FASTA reader with an index as created by SAMtools (.fai).
An Interval
wraps the std::ops::Range
from the stdlib and is defined by a start and end field
where end should be >= start.
Token to represent a new axis in a slice description.
Node identifier.
The normal distribution N(mean, std_dev**2)
.
A description of the options that a program can handle.
The output of a finished process.
A slice of a path (akin to
str
).
A threadpool that acts as a handle to a number
of threads spawned at construction.
A FASTA reader.
A FASTA record.
An iterator over the records of a Fasta file.
A sequence record returned by the FASTA index.
A Fasta writer.
Argument conversion into an array view
Numbers which have upper and lower bounds
A BufRead
is a type of Read
er which has an internal buffer, allowing it
to perform extra ways of reading.
Array shape and index trait.
Format trait for an empty format, {}
.
Types (distributions) that can be used to create a random instance of T
.
This trait adds a fast approximation of exp to float types.
Trait for FASTA readers.
A generic trait for converting a number to a value.
A hashable type.
Floating-point element types f32
and f64
.
Defines a multiplicative identity element for Self
.
Generic trait for primitive integers.
Constructors for n-dimensional arrays with random elements.
The Read
trait allows for reading bytes from a source.
The Seek
trait provides a cursor which can be moved within a stream of
bytes.
Types that can be transferred across thread boundaries.
A trait for Shape
and D where D: Dimension
that allows
customizing the memory layout (strides) of an array shape.
Types for which it is safe to share references between threads.
A generic trait for converting a value to a number.
A trait for values which cannot be negative
A trait for objects which are byte-oriented sinks.
Defines an additive identity element for Self
.
Create a new dimension value.
Create a zero-dimensional index
Create a one-dimensional index
Create a two-dimensional index
Create a three-dimensional index
Create a four-dimensional index
Create a five-dimensional index
Create a six-dimensional index
Create a dynamic-dimensional index
Create a zero-dimensional array with the element x
.
Create a one-dimensional array with elements from xs
.
Create a two-dimensional array with elements from xs
.
Create a zero-dimensional array view borrowing x
.
Create a one-dimensional array view with elements borrowing xs
.
Create a two-dimensional array view with elements borrowing xs
.
Create a one-dimensional read-write array view with elements borrowing xs
.
Returns a value of x
that should minimize f
. f
must be convex and twice-differentiable.
Creates a new, empty directory at the provided path
Converts a slice of bytes to a string slice without checking
that the string contains valid UTF-8.
Compares and returns the maximum of two values.
Compares and returns the minimum of two values.
An iterator that generalizes .zip() and allows running multiple iterators in lockstep.
Returns an iterator over the given range [start, stop) (that is, starting
at start (inclusive), and ending at stop (exclusive)).
Return an iterator over the range [start, stop]
Returns an iterator over the entries within a directory.
Removes a file from the filesystem.
In place implementation of scan over a slice.
Constructs a new handle to the standard output of the current process.
Retrieve the lazily-initialized thread-local random number generator,
seeded by the system. Intended to be used in method chaining style,
e.g. thread_rng().gen::<i32>()
, or cached locally, e.g.
let mut rng = thread_rng();
. Invoked by the Default
trait, making
ThreadRng::default()
equivalent.
Remove a trailing newline from the given string in place.
An array where the data has shared ownership and is copy on write.
An array that owns its data uniquely.
zero-dimensional array
one-dimensional array
two-dimensional array
three-dimensional array
four-dimensional array
five-dimensional array
six-dimensional array
dynamic-dimensional array
A read-only array view.
zero-dimensional array view
one-dimensional array view
two-dimensional array view
three-dimensional array view
four-dimensional array view
five-dimensional array view
six-dimensional array view
dynamic-dimensional array view
A read-write array view.
zero-dimensional read-write array view
one-dimensional read-write array view
two-dimensional read-write array view
three-dimensional read-write array view
four-dimensional read-write array view
five-dimensional read-write array view
six-dimensional read-write array view
dynamic-dimensional read-write array view
An array with copy-on-write behavior.
The default integer type for graph indices.
u32
is the default to reduce the size of the graph’s data and improve
performance in the common case.
zero-dimensionial
one-dimensional
two-dimensional
three-dimensional
four-dimensional
five-dimensional
six-dimensional
dynamic-dimensional
A read-only array view without a lifetime.
A mutable array view without a lifetime.
Type alias for an owned text, i.e. Vec<u8>
.
Type alias for a text slice, i.e. &[u8]
.