Struct bigtools::CachedBBIFileRead

source ·
pub struct CachedBBIFileRead<S: SeekableRead> { /* private fields */ }

Implementations§

source§

impl<S: SeekableRead> CachedBBIFileRead<S>

source

pub fn new(read: S) -> Self

Trait Implementations§

source§

impl<S: SeekableRead> BBIFileRead for CachedBBIFileRead<S>

§

type Reader = S

source§

fn get_block_data( &mut self, info: &BBIFileInfo, block: &Block ) -> Result<Vec<u8>>

source§

fn blocks_for_cir_tree_node( &mut self, endianness: Endianness, node_offset: u64, chrom_ix: u32, start: u32, end: u32 ) -> Result<(SmallVec<[u64; 4]>, SmallVec<[Block; 4]>)>

source§

fn raw_reader(&mut self) -> &mut Self::Reader

source§

impl<R: Reopen + SeekableRead> Reopen for CachedBBIFileRead<R>

source§

fn reopen(&self) -> Result<Self>

Auto Trait Implementations§

§

impl<S> Freeze for CachedBBIFileRead<S>
where S: Freeze,

§

impl<S> RefUnwindSafe for CachedBBIFileRead<S>
where S: RefUnwindSafe,

§

impl<S> Send for CachedBBIFileRead<S>
where S: Send,

§

impl<S> Sync for CachedBBIFileRead<S>
where S: Sync,

§

impl<S> Unpin for CachedBBIFileRead<S>
where S: Unpin,

§

impl<S> UnwindSafe for CachedBBIFileRead<S>
where S: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.