pub struct IndividualId(/* private fields */);Expand description
An individual ID
This is an integer referring to a row of an IndividualTable.
The features for this type follow the same pattern as for NodeId
Implementations§
Source§impl IndividualId
impl IndividualId
Trait Implementations§
Source§impl Clone for IndividualId
impl Clone for IndividualId
Source§fn clone(&self) -> IndividualId
fn clone(&self) -> IndividualId
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndividualId
impl Debug for IndividualId
Source§impl Default for IndividualId
impl Default for IndividualId
Source§impl Display for IndividualId
impl Display for IndividualId
Source§impl From<IndividualId> for tsk_id_t
impl From<IndividualId> for tsk_id_t
Source§fn from(value: IndividualId) -> Self
fn from(value: IndividualId) -> Self
Converts to this type from the input type.
Source§impl From<i32> for IndividualId
impl From<i32> for IndividualId
Source§impl Hash for IndividualId
impl Hash for IndividualId
Source§impl Ord for IndividualId
impl Ord for IndividualId
Source§fn cmp(&self, other: &IndividualId) -> Ordering
fn cmp(&self, other: &IndividualId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq<IndividualId> for tsk_id_t
impl PartialEq<IndividualId> for tsk_id_t
Source§impl PartialEq<i32> for IndividualId
impl PartialEq<i32> for IndividualId
Source§impl PartialEq for IndividualId
impl PartialEq for IndividualId
Source§impl PartialOrd<IndividualId> for tsk_id_t
impl PartialOrd<IndividualId> for tsk_id_t
Source§impl PartialOrd<i32> for IndividualId
impl PartialOrd<i32> for IndividualId
Source§impl PartialOrd for IndividualId
impl PartialOrd for IndividualId
Source§impl TryFrom<IndividualId> for SizeType
impl TryFrom<IndividualId> for SizeType
Source§type Error = TskitError
type Error = TskitError
The type returned in the event of a conversion error.
Source§impl TryFrom<IndividualId> for usize
impl TryFrom<IndividualId> for usize
Source§type Error = TskitError
type Error = TskitError
The type returned in the event of a conversion error.
impl Copy for IndividualId
impl Eq for IndividualId
impl StructuralPartialEq for IndividualId
Auto Trait Implementations§
impl Freeze for IndividualId
impl RefUnwindSafe for IndividualId
impl Send for IndividualId
impl Sync for IndividualId
impl Unpin for IndividualId
impl UnwindSafe for IndividualId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more