Trait wasmer_types::lib::std::marker::Freeze

source ยท
pub unsafe auto trait Freeze { }
๐Ÿ”ฌThis is a nightly-only experimental API. (freeze)
Available on crate feature std only.
Expand description

Used to determine whether a type contains any UnsafeCell internally, but not through an indirection. This affects, for example, whether a static of that type is placed in read-only static memory or writable static memory. This can be used to declare that a constant with a generic type will not contain interior mutability, and subsequently allow placing the constant behind references.

ยงSafety

This trait is a core part of the language, it is just expressed as a trait in libcore for convenience. Do not implement it for other types.

Implementorsยง

sourceยง

impl<T> !Freeze for UnsafeCell<T>
where T: ?Sized,

sourceยง

impl<T> Freeze for *const T
where T: ?Sized,

sourceยง

impl<T> Freeze for *mut T
where T: ?Sized,

sourceยง

impl<T> Freeze for &T
where T: ?Sized,

sourceยง

impl<T> Freeze for &mut T
where T: ?Sized,

1.28.0 ยท sourceยง

impl<T> Freeze for NonZero<T>

sourceยง

impl<T> Freeze for PhantomData<T>
where T: ?Sized,

Auto implementorsยง

ยง

impl !Freeze for AtomicBool

ยง

impl !Freeze for AtomicI8

ยง

impl !Freeze for AtomicI16

ยง

impl !Freeze for AtomicI32

ยง

impl !Freeze for AtomicI64

ยง

impl !Freeze for AtomicIsize

ยง

impl !Freeze for AtomicU8

ยง

impl !Freeze for AtomicU16

ยง

impl !Freeze for AtomicU32

ยง

impl !Freeze for AtomicU64

ยง

impl !Freeze for AtomicUsize

ยง

impl !Freeze for Barrier

ยง

impl !Freeze for Condvar

ยง

impl !Freeze for wasmer_types::lib::std::sync::Once

ยง

impl !Freeze for OnceState

ยง

impl Freeze for RelocationKind

ยง

impl Freeze for RelocationKindResolver

ยง

impl Freeze for RelocationTarget

ยง

impl Freeze for RelocationTargetResolver

ยง

impl Freeze for CustomSectionProtection

ยง

impl Freeze for CustomSectionProtectionResolver

ยง

impl Freeze for Symbol

ยง

impl Freeze for SymbolResolver

ยง

impl Freeze for CpuFeature

ยง

impl Freeze for ArchivedCompiledFunctionUnwindInfo

ยง

impl Freeze for CompiledFunctionUnwindInfo

ยง

impl Freeze for CompiledFunctionUnwindInfoResolver

ยง

impl Freeze for Aarch64Architecture

ยง

impl Freeze for Architecture

ยง

impl Freeze for BinaryFormat

ยง

impl Freeze for CallingConvention

ยง

impl Freeze for Endianness

ยง

impl Freeze for Environment

ยง

impl Freeze for ExportIndex

ยง

impl Freeze for ExternType

ยง

impl Freeze for GlobalInit

ยง

impl Freeze for HashAlgorithm

ยง

impl Freeze for ImportIndex

ยง

impl Freeze for LibCall

ยง

impl Freeze for MemoryStyle

ยง

impl Freeze for ModuleHash

ยง

impl Freeze for Mutability

ยง

impl Freeze for OnCalledAction

ยง

impl Freeze for OperatingSystem

ยง

impl Freeze for PointerWidth

ยง

impl Freeze for TableStyle

ยง

impl Freeze for TrapCode

ยง

impl Freeze for Type

ยง

impl Freeze for Vendor

ยง

impl Freeze for CompileError

ยง

impl Freeze for DeserializeError

ยง

impl Freeze for ImportError

ยง

impl Freeze for MemoryError

ยง

impl Freeze for ParseCpuFeatureError

ยง

impl Freeze for PreInstantiationError

ยง

impl Freeze for SerializeError

ยง

impl Freeze for WasmError

ยง

impl Freeze for wasmer_types::lib::std::cmp::Ordering

ยง

impl Freeze for Infallible

ยง

impl Freeze for wasmer_types::lib::std::fmt::Alignment

ยง

impl Freeze for wasmer_types::lib::std::sync::atomic::Ordering

ยง

impl Freeze for RecvTimeoutError

ยง

impl Freeze for TryRecvError

ยง

impl Freeze for ArchivedFunctionAddressMap

ยง

impl Freeze for ArchivedInstructionAddressMap

ยง

impl Freeze for FunctionAddressMap

ยง

impl Freeze for FunctionAddressMapResolver

ยง

impl Freeze for InstructionAddressMap

ยง

impl Freeze for InstructionAddressMapResolver

ยง

impl Freeze for ArchivedCompiledFunction

ยง

impl Freeze for ArchivedCompiledFunctionFrameInfo

ยง

impl Freeze for ArchivedFunctionBody

ยง

impl Freeze for Compilation

ยง

impl Freeze for CompiledFunction

ยง

impl Freeze for CompiledFunctionFrameInfo

ยง

impl Freeze for CompiledFunctionFrameInfoResolver

ยง

impl Freeze for CompiledFunctionResolver

ยง

impl Freeze for Dwarf

ยง

impl Freeze for DwarfResolver

ยง

impl Freeze for FunctionBody

ยง

impl Freeze for FunctionBodyResolver

ยง

impl Freeze for ArchivedCompileModuleInfo

ยง

impl Freeze for CompileModuleInfo

ยง

impl Freeze for CompileModuleInfoResolver

ยง

impl Freeze for ArchivedRelocation

ยง

impl Freeze for Relocation

ยง

impl Freeze for RelocationResolver

ยง

impl Freeze for ArchivedCustomSection

ยง

impl Freeze for ArchivedSectionBody

ยง

impl Freeze for CustomSection

ยง

impl Freeze for CustomSectionResolver

ยง

impl Freeze for SectionBody

ยง

impl Freeze for SectionBodyResolver

ยง

impl Freeze for SectionIndex

ยง

impl Freeze for SectionIndexResolver

ยง

impl Freeze for ArchivedModuleMetadata

ยง

impl Freeze for ModuleMetadata

ยง

impl Freeze for ModuleMetadataResolver

ยง

impl Freeze for ModuleMetadataSymbolRegistry

ยง

impl Freeze for Target

ยง

impl Freeze for MiddlewareError

ยง

impl Freeze for ArchivedDataInitializerLocation

ยง

impl Freeze for ArchivedOwnedDataInitializer

ยง

impl Freeze for ArchivedSerializableCompilation

ยง

impl Freeze for ArchivedSerializableModule

ยง

impl Freeze for Bytes

ยง

impl Freeze for CustomSectionIndex

ยง

impl Freeze for DataIndex

ยง

impl Freeze for DataInitializerLocation

ยง

impl Freeze for ElemIndex

ยง

impl Freeze for Features

ยง

impl Freeze for FrameInfo

ยง

impl Freeze for FunctionIndex

ยง

impl Freeze for FunctionType

ยง

impl Freeze for GlobalIndex

ยง

impl Freeze for GlobalType

ยง

impl Freeze for ImportKey

ยง

impl Freeze for LocalFunctionIndex

ยง

impl Freeze for LocalGlobalIndex

ยง

impl Freeze for LocalMemoryIndex

ยง

impl Freeze for LocalTableIndex

ยง

impl Freeze for Memory32

ยง

impl Freeze for Memory64

ยง

impl Freeze for MemoryIndex

ยง

impl Freeze for MemoryType

ยง

impl Freeze for MetadataHeader

ยง

impl Freeze for ModuleInfo

ยง

impl Freeze for OwnedDataInitializer

ยง

impl Freeze for PageCountOutOfRange

ยง

impl Freeze for Pages

ยง

impl Freeze for SerializableCompilation

ยง

impl Freeze for SerializableModule

ยง

impl Freeze for SignatureIndex

ยง

impl Freeze for SourceLoc

ยง

impl Freeze for StoreId

ยง

impl Freeze for TableIndex

ยง

impl Freeze for TableInitializer

ยง

impl Freeze for TableType

ยง

impl Freeze for TargetSharedSignatureIndex

ยง

impl Freeze for TrapInformation

ยง

impl Freeze for Triple

ยง

impl Freeze for V128

ยง

impl Freeze for VMBuiltinFunctionIndex

ยง

impl Freeze for VMOffsets

ยง

impl Freeze for TypeId

ยง

impl Freeze for BorrowError

ยง

impl Freeze for BorrowMutError

ยง

impl Freeze for Error

ยง

impl Freeze for DefaultHasher

ยง

impl Freeze for RandomState

ยง

impl Freeze for SipHasher

ยง

impl Freeze for Assume

ยง

impl Freeze for RangeFull

ยง

impl Freeze for wasmer_types::lib::std::ptr::Alignment

ยง

impl Freeze for FromUtf8Error

ยง

impl Freeze for FromUtf16Error

ยง

impl Freeze for String

ยง

impl Freeze for RecvError

ยง

impl Freeze for BarrierWaitResult

ยง

impl Freeze for WaitTimeoutResult

ยง

impl Freeze for PhantomPinned

ยง

impl Freeze for RawValue

ยง

impl<'a> Freeze for CompiledFunctionUnwindInfoReference<'a>

ยง

impl<'a> Freeze for Arguments<'a>

ยง

impl<'a> Freeze for Formatter<'a>

ยง

impl<'a> Freeze for EscapeAscii<'a>

ยง

impl<'a> Freeze for wasmer_types::lib::std::string::Drain<'a>

ยง

impl<'a, 'b> Freeze for DebugList<'a, 'b>

ยง

impl<'a, 'b> Freeze for DebugMap<'a, 'b>

ยง

impl<'a, 'b> Freeze for DebugSet<'a, 'b>

ยง

impl<'a, 'b> Freeze for DebugStruct<'a, 'b>

ยง

impl<'a, 'b> Freeze for DebugTuple<'a, 'b>

ยง

impl<'a, B> Freeze for Cow<'a, B>
where <B as ToOwned>::Owned: Freeze, B: ?Sized,

ยง

impl<'a, I> Freeze for ByRefSized<'a, I>

ยง

impl<'a, I, A> Freeze for Splice<'a, I, A>
where I: Freeze,

ยง

impl<'a, K, V> Freeze for wasmer_types::entity::Iter<'a, K, V>

ยง

impl<'a, K, V> Freeze for wasmer_types::entity::IterMut<'a, K, V>

ยง

impl<'a, T> Freeze for Chunks<'a, T>

ยง

impl<'a, T> Freeze for ChunksExact<'a, T>

ยง

impl<'a, T> Freeze for ChunksExactMut<'a, T>

ยง

impl<'a, T> Freeze for ChunksMut<'a, T>

ยง

impl<'a, T> Freeze for wasmer_types::lib::std::slice::Iter<'a, T>

ยง

impl<'a, T> Freeze for wasmer_types::lib::std::slice::IterMut<'a, T>

ยง

impl<'a, T> Freeze for RChunks<'a, T>

ยง

impl<'a, T> Freeze for RChunksExact<'a, T>

ยง

impl<'a, T> Freeze for RChunksExactMut<'a, T>

ยง

impl<'a, T> Freeze for RChunksMut<'a, T>

ยง

impl<'a, T> Freeze for Windows<'a, T>

ยง

impl<'a, T> Freeze for wasmer_types::lib::std::sync::mpsc::Iter<'a, T>

ยง

impl<'a, T> Freeze for TryIter<'a, T>

ยง

impl<'a, T> Freeze for MappedMutexGuard<'a, T>
where T: ?Sized,

ยง

impl<'a, T> Freeze for MappedRwLockReadGuard<'a, T>
where T: ?Sized,

ยง

impl<'a, T> Freeze for MappedRwLockWriteGuard<'a, T>
where T: ?Sized,

ยง

impl<'a, T> Freeze for MutexGuard<'a, T>
where T: ?Sized,

ยง

impl<'a, T> Freeze for ReentrantLockGuard<'a, T>
where T: ?Sized,

ยง

impl<'a, T> Freeze for RwLockReadGuard<'a, T>
where T: ?Sized,

ยง

impl<'a, T> Freeze for RwLockWriteGuard<'a, T>
where T: ?Sized,

ยง

impl<'a, T, A> Freeze for wasmer_types::lib::std::vec::Drain<'a, T, A>

ยง

impl<'a, T, F, A> Freeze for ExtractIf<'a, T, F, A>
where F: Freeze,

ยง

impl<'a, T, P> Freeze for ChunkBy<'a, T, P>
where P: Freeze,

ยง

impl<'a, T, P> Freeze for ChunkByMut<'a, T, P>
where P: Freeze,

ยง

impl<'a, T, P> Freeze for RSplit<'a, T, P>
where P: Freeze,

ยง

impl<'a, T, P> Freeze for RSplitMut<'a, T, P>
where P: Freeze,

ยง

impl<'a, T, P> Freeze for RSplitN<'a, T, P>
where P: Freeze,

ยง

impl<'a, T, P> Freeze for RSplitNMut<'a, T, P>
where P: Freeze,

ยง

impl<'a, T, P> Freeze for Split<'a, T, P>
where P: Freeze,

ยง

impl<'a, T, P> Freeze for SplitInclusive<'a, T, P>
where P: Freeze,

ยง

impl<'a, T, P> Freeze for SplitInclusiveMut<'a, T, P>
where P: Freeze,

ยง

impl<'a, T, P> Freeze for SplitMut<'a, T, P>
where P: Freeze,

ยง

impl<'a, T, P> Freeze for SplitN<'a, T, P>
where P: Freeze,

ยง

impl<'a, T, P> Freeze for SplitNMut<'a, T, P>
where P: Freeze,

ยง

impl<'a, T, const N: usize> Freeze for wasmer_types::lib::std::slice::ArrayChunks<'a, T, N>

ยง

impl<'a, T, const N: usize> Freeze for ArrayChunksMut<'a, T, N>

ยง

impl<'a, T, const N: usize> Freeze for ArrayWindows<'a, T, N>

ยง

impl<'b, T> Freeze for Ref<'b, T>
where T: ?Sized,

ยง

impl<'b, T> Freeze for RefMut<'b, T>
where T: ?Sized,

ยง

impl<'data> Freeze for DataInitializer<'data>

ยง

impl<A> Freeze for Repeat<A>
where A: Freeze,

ยง

impl<A> Freeze for RepeatN<A>
where A: Freeze,

ยง

impl<A, B> Freeze for Chain<A, B>
where A: Freeze, B: Freeze,

ยง

impl<A, B> Freeze for Zip<A, B>
where A: Freeze, B: Freeze,

ยง

impl<B, C> Freeze for ControlFlow<B, C>
where C: Freeze, B: Freeze,

ยง

impl<Dyn> Freeze for DynMetadata<Dyn>
where Dyn: ?Sized,

ยง

impl<F> Freeze for FormatterFn<F>
where F: Freeze,

ยง

impl<F> Freeze for FromFn<F>
where F: Freeze,

ยง

impl<F> Freeze for OnceWith<F>
where F: Freeze,

ยง

impl<F> Freeze for RepeatWith<F>
where F: Freeze,

ยง

impl<H> Freeze for BuildHasherDefault<H>

ยง

impl<I> Freeze for ExportsIterator<I>
where I: Freeze,

ยง

impl<I> Freeze for ImportsIterator<I>
where I: Freeze,

ยง

impl<I> Freeze for Cloned<I>
where I: Freeze,

ยง

impl<I> Freeze for Copied<I>
where I: Freeze,

ยง

impl<I> Freeze for Cycle<I>
where I: Freeze,

ยง

impl<I> Freeze for Enumerate<I>
where I: Freeze,

ยง

impl<I> Freeze for Flatten<I>
where <<I as Iterator>::Item as IntoIterator>::IntoIter: Freeze, I: Freeze,

ยง

impl<I> Freeze for Fuse<I>
where I: Freeze,

ยง

impl<I> Freeze for Intersperse<I>
where <I as Iterator>::Item: Sized + Freeze, I: Freeze,

ยง

impl<I> Freeze for Peekable<I>
where I: Freeze, <I as Iterator>::Item: Freeze,

ยง

impl<I> Freeze for Skip<I>
where I: Freeze,

ยง

impl<I> Freeze for StepBy<I>
where I: Freeze,

ยง

impl<I> Freeze for Take<I>
where I: Freeze,

ยง

impl<I, F> Freeze for FilterMap<I, F>
where I: Freeze, F: Freeze,

ยง

impl<I, F> Freeze for Inspect<I, F>
where I: Freeze, F: Freeze,

ยง

impl<I, F> Freeze for Map<I, F>
where I: Freeze, F: Freeze,

ยง

impl<I, F, const N: usize> Freeze for MapWindows<I, F, N>
where F: Freeze, I: Freeze, <I as Iterator>::Item: Freeze,

ยง

impl<I, G> Freeze for IntersperseWith<I, G>
where G: Freeze, <I as Iterator>::Item: Freeze, I: Freeze,

ยง

impl<I, P> Freeze for Filter<I, P>
where I: Freeze, P: Freeze,

ยง

impl<I, P> Freeze for MapWhile<I, P>
where I: Freeze, P: Freeze,

ยง

impl<I, P> Freeze for SkipWhile<I, P>
where I: Freeze, P: Freeze,

ยง

impl<I, P> Freeze for TakeWhile<I, P>
where I: Freeze, P: Freeze,

ยง

impl<I, St, F> Freeze for Scan<I, St, F>
where I: Freeze, F: Freeze, St: Freeze,

ยง

impl<I, U, F> Freeze for FlatMap<I, U, F>
where <U as IntoIterator>::IntoIter: Freeze, I: Freeze, F: Freeze,

ยง

impl<I, const N: usize> Freeze for wasmer_types::lib::std::iter::ArrayChunks<I, N>
where I: Freeze, <I as Iterator>::Item: Freeze,

ยง

impl<Idx> Freeze for Range<Idx>
where Idx: Freeze,

ยง

impl<Idx> Freeze for RangeFrom<Idx>
where Idx: Freeze,

ยง

impl<Idx> Freeze for RangeInclusive<Idx>
where Idx: Freeze,

ยง

impl<Idx> Freeze for RangeTo<Idx>
where Idx: Freeze,

ยง

impl<Idx> Freeze for RangeToInclusive<Idx>
where Idx: Freeze,

ยง

impl<K> Freeze for Keys<K>

ยง

impl<K, V> !Freeze for ArchivedPrimaryMap<K, V>

ยง

impl<K, V> Freeze for BoxedSlice<K, V>

ยง

impl<K, V> Freeze for PrimaryMap<K, V>

ยง

impl<K, V> Freeze for SecondaryMap<K, V>
where V: Freeze,

ยง

impl<T> !Freeze for Cell<T>

ยง

impl<T> !Freeze for OnceCell<T>

ยง

impl<T> !Freeze for RefCell<T>

ยง

impl<T> !Freeze for SyncUnsafeCell<T>

ยง

impl<T> !Freeze for AtomicPtr<T>

ยง

impl<T> !Freeze for Mutex<T>

ยง

impl<T> !Freeze for OnceLock<T>

ยง

impl<T> !Freeze for ReentrantLock<T>

ยง

impl<T> !Freeze for RwLock<T>

ยง

impl<T> Freeze for Bound<T>
where T: Freeze,

ยง

impl<T> Freeze for TryLockError<T>
where T: Freeze,

ยง

impl<T> Freeze for TrySendError<T>
where T: Freeze,

ยง

impl<T> Freeze for PackedOption<T>
where T: Freeze,

ยง

impl<T> Freeze for ExportType<T>
where T: Freeze,

ยง

impl<T> Freeze for ImportType<T>
where T: Freeze,

ยง

impl<T> Freeze for ThinBox<T>
where T: ?Sized,

ยง

impl<T> Freeze for Reverse<T>
where T: Freeze,

ยง

impl<T> Freeze for Empty<T>

ยง

impl<T> Freeze for wasmer_types::lib::std::iter::Once<T>
where T: Freeze,

ยง

impl<T> Freeze for Rev<T>
where T: Freeze,

ยง

impl<T> Freeze for Discriminant<T>

ยง

impl<T> Freeze for ManuallyDrop<T>
where T: Freeze + ?Sized,

ยง

impl<T> Freeze for Yeet<T>
where T: Freeze,

ยง

impl<T> Freeze for NonNull<T>
where T: ?Sized,

ยง

impl<T> Freeze for UniqueRc<T>

ยง

impl<T> Freeze for wasmer_types::lib::std::sync::mpsc::IntoIter<T>

ยง

impl<T> Freeze for Receiver<T>

ยง

impl<T> Freeze for SendError<T>
where T: Freeze,

ยง

impl<T> Freeze for Sender<T>

ยง

impl<T> Freeze for SyncSender<T>

ยง

impl<T> Freeze for Exclusive<T>
where T: Freeze + ?Sized,

ยง

impl<T> Freeze for PoisonError<T>
where T: Freeze,

ยง

impl<T> Freeze for MaybeUninit<T>
where T: Freeze,

ยง

impl<T, A> Freeze for Box<T, A>
where A: Freeze, T: ?Sized,

ยง

impl<T, A> Freeze for Rc<T, A>
where A: Freeze, T: ?Sized,

ยง

impl<T, A> Freeze for wasmer_types::lib::std::rc::Weak<T, A>
where A: Freeze, T: ?Sized,

ยง

impl<T, A> Freeze for Arc<T, A>
where A: Freeze, T: ?Sized,

ยง

impl<T, A> Freeze for wasmer_types::lib::std::sync::Weak<T, A>
where A: Freeze, T: ?Sized,

ยง

impl<T, A> Freeze for wasmer_types::lib::std::vec::IntoIter<T, A>
where A: Freeze,

ยง

impl<T, A> Freeze for Vec<T, A>
where A: Freeze,

ยง

impl<T, F = fn() -> T> !Freeze for LazyCell<T, F>

ยง

impl<T, F = fn() -> T> !Freeze for LazyLock<T, F>

ยง

impl<T, F> Freeze for Successors<T, F>
where F: Freeze, T: Freeze,

ยง

impl<Y, R> Freeze for CoroutineState<Y, R>
where Y: Freeze, R: Freeze,