pub struct StructureBatch { /* private fields */ }Expand description
Bounded structure rows in a format-neutral layout.
Implementations§
Source§impl StructureBatch
impl StructureBatch
Sourcepub fn can_reuse(&self, rows: u32, max_retained_bytes: usize) -> bool
pub fn can_reuse(&self, rows: u32, max_retained_bytes: usize) -> bool
Reports whether this allocation can serve another batch without growing any hot row column or exceeding the next byte demand.
Sourcepub const fn descriptor(&self) -> ChunkDescriptor
pub const fn descriptor(&self) -> ChunkDescriptor
Stable global identity and local row extent.
Sourcepub const fn continuity(&self) -> BatchContinuity
pub const fn continuity(&self) -> BatchContinuity
Hierarchy continuation flags.
Sourcepub const fn dictionary(&self) -> &Interner
pub const fn dictionary(&self) -> &Interner
Batch-local identifier dictionary.
Sourcepub fn components(&self) -> &[SymbolId]
pub fn components(&self) -> &[SymbolId]
Component identifiers.
Sourcepub fn sequences(&self) -> &[i32]
pub fn sequences(&self) -> &[i32]
Deposited sequence numbers, with i32::MIN reserved for absence.
Sourcepub fn insertions(&self) -> &[OptionalSymbol]
pub fn insertions(&self) -> &[OptionalSymbol]
Insertion codes.
Sourcepub fn alternates(&self) -> &[AltId]
pub fn alternates(&self) -> &[AltId]
Alternate-location identifiers.
Sourcepub fn coordinate_presence(&self) -> &[Presence]
pub fn coordinate_presence(&self) -> &[Presence]
Position validity.
Sourcepub fn occupancies(&self) -> (&[f32], &[Presence])
pub fn occupancies(&self) -> (&[f32], &[Presence])
Occupancy values and validity.
Sourcepub fn formal_charges(&self) -> (&[i8], &[Presence])
pub fn formal_charges(&self) -> (&[i8], &[Presence])
Formal charges and validity.
Sourcepub fn atom_site_ids(&self) -> &[u32]
pub fn atom_site_ids(&self) -> &[u32]
Deposited atom-site identifiers.
Sourcepub fn heterogens(&self) -> &[u8] ⓘ
pub fn heterogens(&self) -> &[u8] ⓘ
Per-row heterogen sentinels.
Sourcepub fn diagnostics(&self) -> &[Diagnostic]
pub fn diagnostics(&self) -> &[Diagnostic]
Diagnostics emitted while producing these logical rows.
Trait Implementations§
Source§impl Batch for StructureBatch
impl Batch for StructureBatch
Source§impl Clone for StructureBatch
impl Clone for StructureBatch
Auto Trait Implementations§
impl Freeze for StructureBatch
impl RefUnwindSafe for StructureBatch
impl Send for StructureBatch
impl Sync for StructureBatch
impl Unpin for StructureBatch
impl UnsafeUnpin for StructureBatch
impl UnwindSafe for StructureBatch
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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