pub struct Builder<'a> { /* private fields */ }Implementations§
Source§impl<'a> Builder<'a>
impl<'a> Builder<'a>
pub fn into_reader(self) -> Reader<'a>
pub fn reborrow(&mut self) -> Builder<'_>
pub fn reborrow_as_reader(&self) -> Reader<'_>
pub fn total_size(&self) -> Result<MessageSize>
pub fn get_collections(self) -> Result<Builder<'a, Owned>>
pub fn set_collections(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_collections(self, size: u32) -> Builder<'a, Owned>
pub fn has_collections(&self) -> bool
pub fn get_samples(self) -> Result<Builder<'a, Owned>>
pub fn set_samples(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_samples(self, size: u32) -> Builder<'a, Owned>
pub fn has_samples(&self) -> bool
pub fn get_sequences(self) -> Result<Builder<'a, Owned>>
pub fn set_sequences(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_sequences(self, size: u32) -> Builder<'a, Owned>
pub fn has_sequences(&self) -> bool
pub fn get_block_groups(self) -> Result<Builder<'a, Owned>>
pub fn set_block_groups(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_block_groups(self, size: u32) -> Builder<'a, Owned>
pub fn has_block_groups(&self) -> bool
pub fn get_nodes(self) -> Result<Builder<'a, Owned>>
pub fn set_nodes(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_nodes(self, size: u32) -> Builder<'a, Owned>
pub fn has_nodes(&self) -> bool
pub fn get_edges(self) -> Result<Builder<'a, Owned>>
pub fn set_edges(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_edges(self, size: u32) -> Builder<'a, Owned>
pub fn has_edges(&self) -> bool
pub fn get_block_group_edges(self) -> Result<Builder<'a, Owned>>
pub fn set_block_group_edges(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_block_group_edges(self, size: u32) -> Builder<'a, Owned>
pub fn has_block_group_edges(&self) -> bool
pub fn get_paths(self) -> Result<Builder<'a, Owned>>
pub fn set_paths(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_paths(self, size: u32) -> Builder<'a, Owned>
pub fn has_paths(&self) -> bool
pub fn get_path_edges(self) -> Result<Builder<'a, Owned>>
pub fn set_path_edges(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_path_edges(self, size: u32) -> Builder<'a, Owned>
pub fn has_path_edges(&self) -> bool
pub fn get_accessions(self) -> Result<Builder<'a, Owned>>
pub fn set_accessions(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_accessions(self, size: u32) -> Builder<'a, Owned>
pub fn has_accessions(&self) -> bool
pub fn get_accession_edges(self) -> Result<Builder<'a, Owned>>
pub fn set_accession_edges(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_accession_edges(self, size: u32) -> Builder<'a, Owned>
pub fn has_accession_edges(&self) -> bool
pub fn get_accession_paths(self) -> Result<Builder<'a, Owned>>
pub fn set_accession_paths(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_accession_paths(self, size: u32) -> Builder<'a, Owned>
pub fn has_accession_paths(&self) -> bool
pub fn get_annotation_groups(self) -> Result<Builder<'a, Owned>>
pub fn set_annotation_groups(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_annotation_groups(self, size: u32) -> Builder<'a, Owned>
pub fn has_annotation_groups(&self) -> bool
pub fn get_annotations(self) -> Result<Builder<'a, Owned>>
pub fn set_annotations(&mut self, value: Reader<'_, Owned>) -> Result<()>
pub fn init_annotations(self, size: u32) -> Builder<'a, Owned>
pub fn has_annotations(&self) -> bool
pub fn get_annotation_group_samples(self) -> Result<Builder<'a, Owned>>
pub fn set_annotation_group_samples( &mut self, value: Reader<'_, Owned>, ) -> Result<()>
pub fn init_annotation_group_samples(self, size: u32) -> Builder<'a, Owned>
pub fn has_annotation_group_samples(&self) -> bool
Trait Implementations§
Source§impl<'a> From<StructBuilder<'a>> for Builder<'a>
impl<'a> From<StructBuilder<'a>> for Builder<'a>
Source§fn from(builder: StructBuilder<'a>) -> Self
fn from(builder: StructBuilder<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> FromPointerBuilder<'a> for Builder<'a>
impl<'a> FromPointerBuilder<'a> for Builder<'a>
fn init_pointer(builder: PointerBuilder<'a>, _size: u32) -> Self
fn get_from_pointer( builder: PointerBuilder<'a>, default: Option<&'a [Word]>, ) -> Result<Self>
Source§impl HasStructSize for Builder<'_>
impl HasStructSize for Builder<'_>
const STRUCT_SIZE: StructSize
Auto Trait Implementations§
impl<'a> Freeze for Builder<'a>
impl<'a> !RefUnwindSafe for Builder<'a>
impl<'a> !Send for Builder<'a>
impl<'a> !Sync for Builder<'a>
impl<'a> Unpin for Builder<'a>
impl<'a> UnsafeUnpin for Builder<'a>
impl<'a> !UnwindSafe for Builder<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more