Trait uniffi::deps::static_assertions::_core::marker::Freeze

source ยท
pub unsafe auto trait Freeze { }
๐Ÿ”ฌThis is a nightly-only experimental API. (freeze)
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 uniffi::deps::bytes::Bytes

ยง

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 RustCallStatusCode

ยง

impl Freeze for RustFuturePoll

ยง

impl Freeze for Level

ยง

impl Freeze for LevelFilter

ยง

impl Freeze for AsciiChar

ยง

impl Freeze for uniffi::deps::static_assertions::_core::cmp::Ordering

ยง

impl Freeze for Infallible

ยง

impl Freeze for c_void

ยง

impl Freeze for uniffi::deps::static_assertions::_core::fmt::Alignment

ยง

impl Freeze for BasicBlock

ยง

impl Freeze for UnwindTerminateReason

ยง

impl Freeze for IpAddr

ยง

impl Freeze for Ipv6MulticastScope

ยง

impl Freeze for SocketAddr

ยง

impl Freeze for FpCategory

ยง

impl Freeze for IntErrorKind

ยง

impl Freeze for SearchStep

ยง

impl Freeze for uniffi::deps::static_assertions::_core::sync::atomic::Ordering

ยง

impl Freeze for ForeignBytes

ยง

impl Freeze for ForeignFuture

ยง

impl Freeze for Handle

ยง

impl Freeze for MetadataBuffer

ยง

impl Freeze for RustBuffer

ยง

impl Freeze for RustCallStatus

ยง

impl Freeze for UnexpectedUniFFICallbackError

ยง

impl Freeze for uniffi::deps::anyhow::Error

ยง

impl Freeze for UninitSlice

ยง

impl Freeze for BytesMut

ยง

impl Freeze for ParseLevelError

ยง

impl Freeze for SetLoggerError

ยง

impl Freeze for AllocError

ยง

impl Freeze for Layout

ยง

impl Freeze for LayoutError

ยง

impl Freeze for TypeId

ยง

impl Freeze for CpuidResult

ยง

impl Freeze for __m128

ยง

impl Freeze for __m128bh

ยง

impl Freeze for __m128d

ยง

impl Freeze for __m128i

ยง

impl Freeze for __m256

ยง

impl Freeze for __m256bh

ยง

impl Freeze for __m256d

ยง

impl Freeze for __m256i

ยง

impl Freeze for __m512

ยง

impl Freeze for __m512bh

ยง

impl Freeze for __m512d

ยง

impl Freeze for __m512i

ยง

impl Freeze for TryFromSliceError

ยง

impl Freeze for uniffi::deps::static_assertions::_core::ascii::EscapeDefault

ยง

impl Freeze for BorrowError

ยง

impl Freeze for BorrowMutError

ยง

impl Freeze for CharTryFromError

ยง

impl Freeze for DecodeUtf16Error

ยง

impl Freeze for uniffi::deps::static_assertions::_core::char::EscapeDebug

ยง

impl Freeze for uniffi::deps::static_assertions::_core::char::EscapeDefault

ยง

impl Freeze for uniffi::deps::static_assertions::_core::char::EscapeUnicode

ยง

impl Freeze for ParseCharError

ยง

impl Freeze for ToLowercase

ยง

impl Freeze for ToUppercase

ยง

impl Freeze for TryFromCharError

ยง

impl Freeze for CStr

ยง

impl Freeze for FromBytesUntilNulError

ยง

impl Freeze for FromBytesWithNulError

ยง

impl Freeze for uniffi::deps::static_assertions::_core::fmt::Error

ยง

impl Freeze for SipHasher

ยง

impl Freeze for ReturnToArg

ยง

impl Freeze for UnwindActionArg

ยง

impl Freeze for Assume

ยง

impl Freeze for AddrParseError

ยง

impl Freeze for Ipv4Addr

ยง

impl Freeze for Ipv6Addr

ยง

impl Freeze for SocketAddrV4

ยง

impl Freeze for SocketAddrV6

ยง

impl Freeze for ParseFloatError

ยง

impl Freeze for ParseIntError

ยง

impl Freeze for TryFromIntError

ยง

impl Freeze for RangeFull

ยง

impl Freeze for uniffi::deps::static_assertions::_core::ptr::Alignment

ยง

impl Freeze for TimSortRun

ยง

impl Freeze for ParseBoolError

ยง

impl Freeze for Utf8Error

ยง

impl Freeze for LocalWaker

ยง

impl Freeze for RawWaker

ยง

impl Freeze for RawWakerVTable

ยง

impl Freeze for Waker

ยง

impl Freeze for Duration

ยง

impl Freeze for TryFromFloatSecsError

ยง

impl Freeze for PhantomPinned

ยง

impl Freeze for Big8x3

ยง

impl Freeze for Big32x40

ยง

impl Freeze for Decoded

ยง

impl Freeze for FullDecoded

ยง

impl Freeze for Number

ยง

impl Freeze for Sign

ยง

impl Freeze for TryCaptureWithDebug

ยง

impl Freeze for TryCaptureWithoutDebug

ยง

impl<'a> !Freeze for Request<'a>

ยง

impl<'a> Freeze for uniffi::deps::anyhow::Chain<'a>

ยง

impl<'a> Freeze for Metadata<'a>

ยง

impl<'a> Freeze for MetadataBuilder<'a>

ยง

impl<'a> Freeze for Record<'a>

ยง

impl<'a> Freeze for RecordBuilder<'a>

ยง

impl<'a> Freeze for Source<'a>

ยง

impl<'a> Freeze for uniffi::deps::static_assertions::_core::ffi::c_str::Bytes<'a>

ยง

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

ยง

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

ยง

impl<'a> Freeze for BorrowedCursor<'a>

ยง

impl<'a> Freeze for Location<'a>

ยง

impl<'a> Freeze for PanicInfo<'a>

ยง

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

ยง

impl<'a> Freeze for CharSearcher<'a>

ยง

impl<'a> Freeze for uniffi::deps::static_assertions::_core::str::Bytes<'a>

ยง

impl<'a> Freeze for CharIndices<'a>

ยง

impl<'a> Freeze for Chars<'a>

ยง

impl<'a> Freeze for EncodeUtf16<'a>

ยง

impl<'a> Freeze for uniffi::deps::static_assertions::_core::str::EscapeDebug<'a>

ยง

impl<'a> Freeze for uniffi::deps::static_assertions::_core::str::EscapeDefault<'a>

ยง

impl<'a> Freeze for uniffi::deps::static_assertions::_core::str::EscapeUnicode<'a>

ยง

impl<'a> Freeze for Lines<'a>

ยง

impl<'a> Freeze for LinesAny<'a>

ยง

impl<'a> Freeze for SplitAsciiWhitespace<'a>

ยง

impl<'a> Freeze for SplitWhitespace<'a>

ยง

impl<'a> Freeze for Utf8Chunk<'a>

ยง

impl<'a> Freeze for Utf8Chunks<'a>

ยง

impl<'a> Freeze for Context<'a>

ยง

impl<'a> Freeze for ContextBuilder<'a>

ยง

impl<'a> Freeze for Formatted<'a>

ยง

impl<'a> Freeze for Part<'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 CharSliceSearcher<'a, 'b>

ยง

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

ยง

impl<'a, 'b, const N: usize> Freeze for CharArrayRefSearcher<'a, 'b, N>

ยง

impl<'a, 'f> Freeze for VaList<'a, 'f>

ยง

impl<'a, A> Freeze for uniffi::deps::static_assertions::_core::option::Iter<'a, A>

ยง

impl<'a, A> Freeze for uniffi::deps::static_assertions::_core::option::IterMut<'a, A>

ยง

impl<'a, F> Freeze for CharPredicateSearcher<'a, F>
where F: Freeze,

ยง

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

ยง

impl<'a, P> Freeze for MatchIndices<'a, P>
where <P as Pattern<'a>>::Searcher: Freeze,

ยง

impl<'a, P> Freeze for Matches<'a, P>
where <P as Pattern<'a>>::Searcher: Freeze,

ยง

impl<'a, P> Freeze for RMatchIndices<'a, P>
where <P as Pattern<'a>>::Searcher: Freeze,

ยง

impl<'a, P> Freeze for RMatches<'a, P>
where <P as Pattern<'a>>::Searcher: Freeze,

ยง

impl<'a, P> Freeze for uniffi::deps::static_assertions::_core::str::RSplit<'a, P>
where <P as Pattern<'a>>::Searcher: Freeze,

ยง

impl<'a, P> Freeze for uniffi::deps::static_assertions::_core::str::RSplitN<'a, P>
where <P as Pattern<'a>>::Searcher: Freeze,

ยง

impl<'a, P> Freeze for RSplitTerminator<'a, P>
where <P as Pattern<'a>>::Searcher: Freeze,

ยง

impl<'a, P> Freeze for uniffi::deps::static_assertions::_core::str::Split<'a, P>
where <P as Pattern<'a>>::Searcher: Freeze,

ยง

impl<'a, P> Freeze for uniffi::deps::static_assertions::_core::str::SplitInclusive<'a, P>
where <P as Pattern<'a>>::Searcher: Freeze,

ยง

impl<'a, P> Freeze for uniffi::deps::static_assertions::_core::str::SplitN<'a, P>
where <P as Pattern<'a>>::Searcher: Freeze,

ยง

impl<'a, P> Freeze for SplitTerminator<'a, P>
where <P as Pattern<'a>>::Searcher: Freeze,

ยง

impl<'a, T> Freeze for uniffi::deps::static_assertions::_core::result::Iter<'a, T>

ยง

impl<'a, T> Freeze for uniffi::deps::static_assertions::_core::result::IterMut<'a, T>

ยง

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 uniffi::deps::static_assertions::_core::slice::Iter<'a, T>

ยง

impl<'a, T> Freeze for uniffi::deps::static_assertions::_core::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, 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 uniffi::deps::static_assertions::_core::slice::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 uniffi::deps::static_assertions::_core::slice::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 uniffi::deps::static_assertions::_core::slice::Split<'a, T, P>
where P: Freeze,

ยง

impl<'a, T, P> Freeze for uniffi::deps::static_assertions::_core::slice::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 uniffi::deps::static_assertions::_core::slice::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 uniffi::deps::static_assertions::_core::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<'a, const N: usize> Freeze for CharArraySearcher<'a, 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 BorrowedBuf<'data>

ยง

impl<'f> Freeze for VaListImpl<'f>

ยง

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

ยง

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

ยง

impl<A> Freeze for uniffi::deps::static_assertions::_core::option::IntoIter<A>
where A: Freeze,

ยง

impl<A, B> Freeze for uniffi::deps::static_assertions::_core::iter::Chain<A, B>
where A: Freeze, B: Freeze,

ยง

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

ยง

impl<B> Freeze for Reader<B>
where B: Freeze,

ยง

impl<B> Freeze for Writer<B>
where 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<E, M> Freeze for Capture<E, M>
where E: Freeze,

ยง

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

ยง

impl<F> Freeze for PollFn<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 FromIter<I>
where I: Freeze,

ยง

impl<I> Freeze for DecodeUtf16<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 uniffi::deps::static_assertions::_core::iter::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 uniffi::deps::static_assertions::_core::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<Ptr> Freeze for Pin<Ptr>
where Ptr: 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 Bound<T>
where T: Freeze,

ยง

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

ยง

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

ยง

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

ยง

impl<T> Freeze for uniffi::deps::bytes::buf::IntoIter<T>
where T: Freeze,

ยง

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

ยง

impl<T> Freeze for uniffi::deps::bytes::buf::Take<T>
where T: Freeze,

ยง

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

ยง

impl<T> Freeze for AsyncDropInPlace<T>
where <T as AsyncDestruct>::AsyncDestructor: Freeze, T: ?Sized,

ยง

impl<T> Freeze for Pending<T>

ยง

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

ยง

impl<T> Freeze for Empty<T>

ยง

impl<T> Freeze for 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 Saturating<T>
where T: Freeze,

ยง

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

ยง

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

ยง

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

ยง

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

ยง

impl<T> Freeze for uniffi::deps::static_assertions::_core::result::IntoIter<T>
where T: Freeze,

ยง

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

ยง

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

ยง

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

ยง

impl<T, E> Freeze for Result<T, E>
where T: Freeze, E: Freeze,

ยง

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

ยง

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

ยง

impl<T, U> Freeze for uniffi::deps::bytes::buf::Chain<T, U>
where T: Freeze, U: Freeze,

ยง

impl<T, const N: usize> Freeze for uniffi::deps::static_assertions::_core::array::IntoIter<T, N>
where T: Freeze,

ยง

impl<T, const N: usize> Freeze for Mask<T, N>
where T: Freeze,

ยง

impl<T, const N: usize> Freeze for Simd<T, N>
where T: Freeze,

ยง

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

ยง

impl<const N: usize> Freeze for LaneCount<N>

ยง

impl<const N: usize> Freeze for GetManyMutError<N>