[−][src]Struct tskit_rust::bindings::tsk_site_t
@brief A single site defined by a row in the site table.
@rst
See the :ref:data model <sec_data_model_definitions>
section for the definition of
a site and its properties.
@endrst
Fields
id: tsk_id_t
@brief Non-negative ID value corresponding to table row.
position: f64
@brief Position coordinate.
ancestral_state: *const c_char
@brief Ancestral state.
ancestral_state_length: tsk_size_t
@brief Ancestral state length in bytes.
metadata: *const c_char
@brief Metadata.
metadata_length: tsk_size_t
@brief Metadata length in bytes.
mutations: *const tsk_mutation_t
mutations_length: tsk_size_t
Trait Implementations
impl Clone for tsk_site_t
[src]
pub fn clone(&self) -> tsk_site_t
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for tsk_site_t
[src]
impl Debug for tsk_site_t
[src]
Auto Trait Implementations
impl RefUnwindSafe for tsk_site_t
[src]
impl !Send for tsk_site_t
[src]
impl !Sync for tsk_site_t
[src]
impl Unpin for tsk_site_t
[src]
impl UnwindSafe for tsk_site_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>,