Struct rust_htslib::bcf::record::Format[][src]

pub struct Format<'a, B: BorrowMut<Buffer> + Borrow<Buffer>> { /* fields omitted */ }

Implementations

Provide short description of format entry (just the tag name).

Get format data as integers.

Attention: the returned BufferBacked which holds the data has to be kept in scope as long as the data is accessed. If parts of the data are accessed while the BufferBacked object is already dropped, you will access unallocated memory.

Get format data as floats.

Attention: the returned BufferBacked which holds the data has to be kept in scope as along as the data is accessed. If parts of the data are accessed while the BufferBacked object is already dropped, you will access unallocated memory.

Get format data as byte slices. To obtain the values strings, use std::str::from_utf8.

Attention: the returned BufferBacked which holds the data has to be kept in scope as along as the data is accessed. If parts of the data are accessed while the BufferBacked object is already dropped, you will access unallocated memory.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.