Trait wasmer_types::lib::std::iter::TrustedStep[][src]

pub unsafe trait TrustedStep: Step { }
🔬 This is a nightly-only experimental API. (trusted_step)
Expand description

A type that upholds all invariants of Step.

The invariants of Step::steps_between() are a superset of the invariants of TrustedLen. As such, TrustedLen is implemented for all range types with the same generic type argument.

Safety

The implementation of Step for the given type must guarantee all invariants of all methods are upheld. See the Step trait’s documentation for details. Consumers are free to rely on the invariants in unsafe code.

Implementations on Foreign Types

impl TrustedStep for i64[src]

impl TrustedStep for isize[src]

impl TrustedStep for u64[src]

impl TrustedStep for u128[src]

impl TrustedStep for i128[src]

impl TrustedStep for i32[src]

impl TrustedStep for i8[src]

impl TrustedStep for u32[src]

impl TrustedStep for usize[src]

impl TrustedStep for u16[src]

impl TrustedStep for u8[src]

impl TrustedStep for i16[src]

impl TrustedStep for char[src]

Implementors