Type Alias pancake_types::types::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: Global

Trait Implementations§

source§

impl Borrow<Datum> for PKShared

source§

fn borrow(&self) -> &Datum

Immutably borrows from an owned value. Read more
source§

impl From<Datum> for PKShared

source§

fn from(dat: Datum) -> Self

Converts to this type from the input type.
source§

impl From<SVPKShared> for PKShared

source§

fn from(svpk: SVPKShared) -> PKShared

Converts to this type from the input type.
source§

impl PartialEq<&PrimaryKey> for PKShared

source§

fn eq(&self, other: &&PrimaryKey) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<PrimaryKey> for PKShared

source§

fn eq(&self, other: &PrimaryKey) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<&PrimaryKey> for PKShared

source§

fn partial_cmp(&self, other: &&PrimaryKey) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl PartialOrd<PrimaryKey> for PKShared

source§

fn partial_cmp(&self, other: &PrimaryKey) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

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
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Serializable for PKShared