pub struct ProvenanceId(/* private fields */);Available on crate feature
provenance only.Expand description
A provenance ID
This is an integer referring to a row of a [provenance::ProvenanceTable].
The features for this type follow the same pattern as for NodeId
Implementations§
Source§impl ProvenanceId
impl ProvenanceId
Trait Implementations§
Source§impl Clone for ProvenanceId
impl Clone for ProvenanceId
Source§fn clone(&self) -> ProvenanceId
fn clone(&self) -> ProvenanceId
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 ProvenanceId
impl Debug for ProvenanceId
Source§impl Default for ProvenanceId
impl Default for ProvenanceId
Source§impl Display for ProvenanceId
impl Display for ProvenanceId
Source§impl From<ProvenanceId> for tsk_id_t
impl From<ProvenanceId> for tsk_id_t
Source§fn from(value: ProvenanceId) -> Self
fn from(value: ProvenanceId) -> Self
Converts to this type from the input type.
Source§impl From<i32> for ProvenanceId
impl From<i32> for ProvenanceId
Source§impl Hash for ProvenanceId
impl Hash for ProvenanceId
Source§impl Ord for ProvenanceId
impl Ord for ProvenanceId
Source§fn cmp(&self, other: &ProvenanceId) -> Ordering
fn cmp(&self, other: &ProvenanceId) -> 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<ProvenanceId> for tsk_id_t
impl PartialEq<ProvenanceId> for tsk_id_t
Source§impl PartialEq<i32> for ProvenanceId
impl PartialEq<i32> for ProvenanceId
Source§impl PartialEq for ProvenanceId
impl PartialEq for ProvenanceId
Source§impl PartialOrd<ProvenanceId> for tsk_id_t
impl PartialOrd<ProvenanceId> for tsk_id_t
Source§impl PartialOrd<i32> for ProvenanceId
impl PartialOrd<i32> for ProvenanceId
Source§impl PartialOrd for ProvenanceId
impl PartialOrd for ProvenanceId
Source§impl TryFrom<ProvenanceId> for SizeType
impl TryFrom<ProvenanceId> for SizeType
Source§type Error = TskitError
type Error = TskitError
The type returned in the event of a conversion error.
Source§impl TryFrom<ProvenanceId> for usize
impl TryFrom<ProvenanceId> for usize
Source§type Error = TskitError
type Error = TskitError
The type returned in the event of a conversion error.
impl Copy for ProvenanceId
impl Eq for ProvenanceId
impl StructuralPartialEq for ProvenanceId
Auto Trait Implementations§
impl Freeze for ProvenanceId
impl RefUnwindSafe for ProvenanceId
impl Send for ProvenanceId
impl Sync for ProvenanceId
impl Unpin for ProvenanceId
impl UnwindSafe for ProvenanceId
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