pub unsafe trait AllBytesValid { }
Expand description

Unsafe trait representing types where every byte pattern is valid for their representation.

This is the set of types which wasmer can have a raw pointer to for values which reside in wasm linear memory.

Safety

TODO: add safety docs.

Implementations on Foreign Types§

source§

impl<T1: AllBytesValid, T2: AllBytesValid, T3: AllBytesValid> AllBytesValid for (T1, T2, T3)

source§

impl<T1: AllBytesValid> AllBytesValid for (T1,)

source§

impl AllBytesValid for f32

source§

impl AllBytesValid for i16

source§

impl AllBytesValid for ()

source§

impl<T1: AllBytesValid, T2: AllBytesValid, T3: AllBytesValid, T4: AllBytesValid, T5: AllBytesValid> AllBytesValid for (T1, T2, T3, T4, T5)

source§

impl<T1: AllBytesValid, T2: AllBytesValid, T3: AllBytesValid, T4: AllBytesValid, T5: AllBytesValid, T6: AllBytesValid> AllBytesValid for (T1, T2, T3, T4, T5, T6)

source§

impl<T1: AllBytesValid, T2: AllBytesValid, T3: AllBytesValid, T4: AllBytesValid, T5: AllBytesValid, T6: AllBytesValid, T7: AllBytesValid> AllBytesValid for (T1, T2, T3, T4, T5, T6, T7)

source§

impl AllBytesValid for u64

source§

impl AllBytesValid for i64

source§

impl<T1: AllBytesValid, T2: AllBytesValid, T3: AllBytesValid, T4: AllBytesValid> AllBytesValid for (T1, T2, T3, T4)

source§

impl<T1: AllBytesValid, T2: AllBytesValid, T3: AllBytesValid, T4: AllBytesValid, T5: AllBytesValid, T6: AllBytesValid, T7: AllBytesValid, T8: AllBytesValid> AllBytesValid for (T1, T2, T3, T4, T5, T6, T7, T8)

source§

impl<T1: AllBytesValid, T2: AllBytesValid, T3: AllBytesValid, T4: AllBytesValid, T5: AllBytesValid, T6: AllBytesValid, T7: AllBytesValid, T8: AllBytesValid, T9: AllBytesValid> AllBytesValid for (T1, T2, T3, T4, T5, T6, T7, T8, T9)

source§

impl AllBytesValid for u32

source§

impl AllBytesValid for u8

source§

impl AllBytesValid for u16

source§

impl<T1: AllBytesValid, T2: AllBytesValid> AllBytesValid for (T1, T2)

source§

impl<T1: AllBytesValid, T2: AllBytesValid, T3: AllBytesValid, T4: AllBytesValid, T5: AllBytesValid, T6: AllBytesValid, T7: AllBytesValid, T8: AllBytesValid, T9: AllBytesValid, T10: AllBytesValid> AllBytesValid for (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

source§

impl AllBytesValid for i8

source§

impl AllBytesValid for i32

source§

impl AllBytesValid for f64

Implementors§