Type Alias pancake_types::types::pk::PKShared
source · pub type PKShared = Arc<PrimaryKey>;Aliased Type§
struct PKShared {
ptr: NonNull<ArcInner<PrimaryKey>>,
phantom: PhantomData<ArcInner<PrimaryKey>>,
alloc: Global,
}Fields§
§ptr: NonNull<ArcInner<PrimaryKey>>§phantom: PhantomData<ArcInner<PrimaryKey>>§alloc: GlobalTrait Implementations§
source§fn from(svpk: SVPKShared) -> PKShared
fn from(svpk: SVPKShared) -> PKShared
Converts to this type from the input type.
source§impl PartialEq<&PrimaryKey> for PKShared
impl PartialEq<&PrimaryKey> for PKShared
source§fn eq(&self, other: &&PrimaryKey) -> bool
fn eq(&self, other: &&PrimaryKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialEq<PrimaryKey> for PKShared
impl PartialEq<PrimaryKey> for PKShared
source§fn eq(&self, other: &PrimaryKey) -> bool
fn eq(&self, other: &PrimaryKey) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<&PrimaryKey> for PKShared
impl PartialOrd<&PrimaryKey> for PKShared
source§fn partial_cmp(&self, other: &&PrimaryKey) -> Option<Ordering>
fn partial_cmp(&self, other: &&PrimaryKey) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl PartialOrd<PrimaryKey> for PKShared
impl PartialOrd<PrimaryKey> for PKShared
source§fn partial_cmp(&self, other: &PrimaryKey) -> Option<Ordering>
fn partial_cmp(&self, other: &PrimaryKey) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more