Docs.rs
dst-init-0.4.1
dst-init 0.4.1
Permalink
Docs.rs crate page
Links
Homepage
Repository
crates.io
Source
Owners
danny-326
Dependencies
dst-init-macros ^0.4.1
normal
Versions
56.25%
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
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
dst_
init
0.4.1
Slice
Trait Implementations
SliceExt
In crate dst_
init
dst_init
Type Alias
Slice
Copy item path
Source
pub type Slice<T> =
[T]
;
Expand description
pub type Slice<T> = [T];
Trait Implementations
§
Source
§
impl<T>
SliceExt
for
Slice
<T>
Source
§
fn
fn_init
<F>( size:
usize
, f: F, ) -> impl
EmplaceInitializer
<Output = [Self::
Item
]>
where F:
FnMut
() -> Self::
Item
,
create SliceFnInitializer
Source
§
fn
iter_init
<Iter>( size:
usize
, iter: Iter, ) -> impl
EmplaceInitializer
<Output = [Self::
Item
]>
where Iter:
Iterator
<Item = Self::
Item
>,
create SliceIterInitializer
Source
§
type
Item
= T