Enum rustc_target::abi::PointerKind [−][src]
pub enum PointerKind {
Shared,
Frozen,
UniqueBorrowed,
UniqueOwned,
}
Variants
Most general case, we know no restrictions to tell LLVM.
&T
where T
contains no UnsafeCell
, is noalias
and readonly
.
&mut T
which is noalias
but not readonly
.
Box<T>
, unlike UniqueBorrowed
, it also has noalias
on returns.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PointerKind
impl Send for PointerKind
impl Sync for PointerKind
impl Unpin for PointerKind
impl UnwindSafe for PointerKind
Blanket Implementations
Mutably borrows from an owned value. Read more
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: 1 byte
Size for each variant:
Shared
: 0 bytesFrozen
: 0 bytesUniqueBorrowed
: 0 bytesUniqueOwned
: 0 bytes