pub struct Encoded<'a> { /* private fields */ }Expand description
An index laid out for writing: its header fields, key, sections and where each goes.
Implementations§
Source§impl<'a> Encoded<'a>
impl<'a> Encoded<'a>
Sourcepub fn new(
key: &IndexKey,
topology: &'a Topology,
ids: &'a IdMap,
) -> Result<Self>
pub fn new( key: &IndexKey, topology: &'a Topology, ids: &'a IdMap, ) -> Result<Self>
Lay out the main part of topology and ids under key (not the
in-adjacency: see EncodedChunk::incoming). Nothing is written yet.
Sourcepub fn with_dropped(
key: &IndexKey,
topology: &'a Topology,
ids: &'a IdMap,
n_dropped: u64,
kept: Option<&BooleanBuffer>,
) -> Result<Self>
pub fn with_dropped( key: &IndexKey, topology: &'a Topology, ids: &'a IdMap, n_dropped: u64, kept: Option<&BooleanBuffer>, ) -> Result<Self>
Self::new, for an index that left out n_dropped edge rows,
kept saying which it kept (see the module docs).
Auto Trait Implementations§
impl<'a> Forget for Encoded<'a>
impl<'a> Freeze for Encoded<'a>
impl<'a> RefUnwindSafe for Encoded<'a>
impl<'a> Send for Encoded<'a>
impl<'a> Sync for Encoded<'a>
impl<'a> Unpin for Encoded<'a>
impl<'a> UnsafeUnpin for Encoded<'a>
impl<'a> UnwindSafe for Encoded<'a>
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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