pub(crate) enum BorrowedContentSource<'tcx> {
DerefRawPointer,
DerefMutableRef,
DerefSharedRef,
OverloadedDeref(Ty<'tcx>),
OverloadedIndex(Ty<'tcx>),
}Variants
DerefRawPointer
DerefMutableRef
DerefSharedRef
OverloadedDeref(Ty<'tcx>)
OverloadedIndex(Ty<'tcx>)
Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for BorrowedContentSource
impl<'tcx> Send for BorrowedContentSource
impl<'tcx> Sync for BorrowedContentSource
impl<'tcx> Unpin for BorrowedContentSource
impl<'tcx> !UnwindSafe for BorrowedContentSource
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes
Size for each variant:
DerefRawPointer: 0 bytesDerefMutableRef: 0 bytesDerefSharedRef: 0 bytesOverloadedDeref: 8 bytesOverloadedIndex: 8 bytes