[][src]Crate ari

Modules

cmp
collections
console
crypto
ffi
fmt
fs
io
macros
math
os
path
random
str
sync
time

Macros

_ari_item_count
btree_map

creates a BTreeMap containing the specified entries.

btree_set

creates a BTreeSet containing the specified values.

hash_map

creates a HashMap containing the specified entries.

hash_set

creates a HashSet containing the specified values.

path

creates a path from several components. all components except for the first are treated as relative paths, even if they begin with a leading slash.

Structs

BitField

a bitfield.

BlackHole

an opaque error that be converted from any other error type.

DefaultDebug

a wrapper type that ensures its wrapped item implements debug.

Traits

Any

a trait that encompasses all types.

BoolExt

extensions to bool.

VecExt

extensions to std::vec::Vec.

Functions

as_slice

convert a singular T into a single element slice of T.

as_slice_mut

convert a singular T into a single element slice of T.

assert_send
assert_send_sync
assert_sync
initialize

initializes ari, setting up the environment for use.

initialized

returns true if ari has been initialized.

keep

keep x, preventing llvm from optimizing it away.

option_as_slice

convert an Option<T> into a zero or single element slice of T.

option_as_slice_mut

convert an Option<T> into a zero or single element slice of T.

slice_as_array

returns a slice as an array, if byte_length(array) == byte_length(slice). this function is unsafe because T may not be a memcopy-safe type.