Type Definition tskit::bindings::tsk_size_t

source ·
pub type tsk_size_t = u64;
Expand description

@brief Tskit sizes.

@rst The tsk_size_t type is an unsigned integer used for any size or count value. @endrst

Trait Implementations§

source§

impl From<SizeType> for tsk_size_t

source§

fn from(value: SizeType) -> Self

Converts to this type from the input type.
source§

impl PartialEq<SizeType> for tsk_size_t

source§

fn eq(&self, other: &SizeType) -> 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<SizeType> for tsk_size_t

source§

fn partial_cmp(&self, other: &SizeType) -> 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