[−][src]Struct tskit_rust::bindings::tsk_migration_t
@brief A single migration defined by a row in the migration table.
@rst
See the :ref:data model <sec_data_model_definitions>
section for the definition of
a migration and its properties.
@endrst
Fields
id: tsk_id_t
@brief Non-negative ID value corresponding to table row.
source: tsk_id_t
@brief Source population ID.
dest: tsk_id_t
@brief Destination population ID.
node: tsk_id_t
@brief Node ID.
left: f64
@brief Left coordinate.
right: f64
@brief Right coordinate.
time: f64
@brief Time.
metadata: *const c_char
@brief Metadata.
metadata_length: tsk_size_t
@brief Size of the metadata in bytes.
Trait Implementations
impl Clone for tsk_migration_t
[src]
pub fn clone(&self) -> tsk_migration_t
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for tsk_migration_t
[src]
impl Debug for tsk_migration_t
[src]
Auto Trait Implementations
impl RefUnwindSafe for tsk_migration_t
[src]
impl !Send for tsk_migration_t
[src]
impl !Sync for tsk_migration_t
[src]
impl Unpin for tsk_migration_t
[src]
impl UnwindSafe for tsk_migration_t
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,