[−][src]Struct rust_htslib::bcf::record::Format
Implementations
impl<'a> Format<'a>[src]
pub fn desc(&self) -> String[src]
Provide short description of format entry (just the tag name).
pub fn inner(&self) -> &bcf_fmt_t[src]
pub fn inner_mut(&mut self) -> &mut bcf_fmt_t[src]
pub fn integer(&mut self) -> Result<Vec<&'a [i32]>>[src]
Get format data as integers.
pub fn float(&mut self) -> Result<Vec<&'a [f32]>>[src]
Get format data as floats.
pub fn string(&mut self) -> Result<Vec<&'a [u8]>>[src]
Get format data as byte slices. To obtain the values strings, use std::str::from_utf8.
Trait Implementations
impl<'a> Debug for Format<'a>[src]
impl<'a> Send for Format<'a>[src]
impl<'a> Sync for Format<'a>[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Format<'a>
impl<'a> Unpin for Format<'a>
impl<'a> !UnwindSafe for Format<'a>
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,
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, 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.
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>,