Docs.rs
compat-no-std-0.4.1-patch1
compat-no-std 0.4.1-patch1
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
tsao-chi
Dependencies
cstr_core ^0.2.3
normal
optional
hashbrown ^0.8.1
normal
optional
libc ^0.2.97
normal
optional
spin ^0.7.0
normal
optional
unix_path ^1.0.1
normal
optional
libc ^0.2.97
dev
Versions
0%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
compat_
no_
std
0.4.1-patch1
Module array
Module Items
Structs
Functions
In crate compat_
no_
std
compat_no_std
Module
array
Copy item path
Source
Structs
§
Into
Iter
A by-value
array
iterator.
TryFrom
Slice
Error
The error type returned when a conversion from a slice to an array fails.
Functions
§
from_fn
Creates an array where each element is produced by calling
f
with that element’s index while walking forward through the array.
from_
mut
Converts a mutable reference to
T
into a mutable reference to an array of length 1 (without copying).
from_
ref
Converts a reference to
T
into a reference to an array of length 1 (without copying).
repeat
Experimental
Creates an array of type
[T; N]
by repeatedly cloning a value.
try_
from_
fn
Experimental
Creates an array
[T; N]
where each fallible array element
T
is returned by the
cb
call. Unlike
from_fn
, where the element creation can’t fail, this version will return an error if any element creation was unsuccessful.