pub struct BondChunk { /* private fields */ }Expand description
One independently requestable range of an immutable bond table.
Implementations§
Source§impl BondChunk
impl BondChunk
Retains an existing bond-table range without materialising edge columns.
§Errors
Rejects unavailable topology, mismatched lengths, ranges outside the source table, or atom identities that overflow the global row space.
Sourcepub const fn descriptor(&self) -> ChunkDescriptor
pub const fn descriptor(&self) -> ChunkDescriptor
Stable bond-chunk metadata.
Sourcepub const fn atom_dataset(&self) -> DatasetId
pub const fn atom_dataset(&self) -> DatasetId
Atom dataset referenced by both endpoint columns.
Sourcepub const fn structure(&self) -> &Structure
pub const fn structure(&self) -> &Structure
Retained immutable source; its coordinate columns are never copied.
Sourcepub fn record(&self, local: LocalRow) -> Result<BondChunkRecord, ProviderError>
pub fn record(&self, local: LocalRow) -> Result<BondChunkRecord, ProviderError>
Projects one local bond row to global atom identities in O(1).
§Errors
Returns a typed error for a local row outside the chunk or identity arithmetic overflow.
Sourcepub fn minimum_host_bytes(&self) -> Result<u64, ProviderError>
pub fn minimum_host_bytes(&self) -> Result<u64, ProviderError>
Minimum bytes represented by the retained native edge columns.
§Errors
Returns a typed error if byte accounting exceeds u64.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BondChunk
impl RefUnwindSafe for BondChunk
impl Send for BondChunk
impl Sync for BondChunk
impl Unpin for BondChunk
impl UnsafeUnpin for BondChunk
impl UnwindSafe for BondChunk
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