Enum rustc_target::abi::PointerKind [−][src]
pub enum PointerKind {
Shared,
Frozen,
UniqueBorrowed,
UniqueOwned,
}Variants
Expand description
Most general case, we know no restrictions to tell LLVM.
Expand description
&T where T contains no UnsafeCell, is noalias and readonly.
Expand description
&mut T which is noalias but not readonly.
Expand description
Box<T>, unlike UniqueBorrowed, it also has noalias on returns.
Trait Implementations
impl Clone for PointerKind[src]
impl Clone for PointerKind[src]fn clone(&self) -> PointerKind[src]
fn clone(&self) -> PointerKind[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for PointerKind[src]
impl Debug for PointerKind[src]impl PartialEq<PointerKind> for PointerKind[src]
impl PartialEq<PointerKind> for PointerKind[src]impl Copy for PointerKind[src]
impl Eq for PointerKind[src]
impl StructuralEq for PointerKind[src]
impl StructuralPartialEq for PointerKind[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more