[][src]Struct casperlabs_contract_ffi::contract_api::pointers::UPointer

pub struct UPointer<T>(pub [u8; 32], pub AccessRights, pub PhantomData<T>);

Methods

impl<T> UPointer<T>[src]

pub fn new(id: [u8; 32], rights: AccessRights) -> UPointer<T>[src]

pub fn from_uref(uref: URef) -> Result<Self, AccessRightsError>[src]

Trait Implementations

impl<T: PartialEq> PartialEq<UPointer<T>> for UPointer<T>[src]

impl<T: Eq> Eq for UPointer<T>[src]

impl<T: Hash> Hash for UPointer<T>[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<T: Debug> Debug for UPointer<T>[src]

impl<T> From<UPointer<T>> for Key[src]

impl<T> From<UPointer<T>> for URef[src]

impl<T: Copy> Copy for UPointer<T>[src]

impl<T: Clone> Clone for UPointer<T>[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> Unpin for UPointer<T> where
    T: Unpin

impl<T> Send for UPointer<T> where
    T: Send

impl<T> Sync for UPointer<T> where
    T: Sync

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> Same<T> for T

type Output = T

Should always be Self