#[repr(C)]pub struct PostingEntry {
pub record_id: u64,
pub weight: f32,
pub max_next_weight: f32,
}Expand description
On-disk posting entry.
Fields§
§record_id: u64§weight: f32§max_next_weight: f32Ceiling over the rest of the list (see the module docs).
Trait Implementations§
Source§impl Clone for PostingEntry
impl Clone for PostingEntry
Source§fn clone(&self) -> PostingEntry
fn clone(&self) -> PostingEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PostingEntry
Auto Trait Implementations§
impl Freeze for PostingEntry
impl RefUnwindSafe for PostingEntry
impl Send for PostingEntry
impl Sync for PostingEntry
impl Unpin for PostingEntry
impl UnsafeUnpin for PostingEntry
impl UnwindSafe for PostingEntry
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