#[repr(C, align(64))]pub struct PublicationLine {
pub state: AtomicU64,
pub items: [LineItem; 3],
pub _pad: [u8; 8],
}Expand description
One publication line: state + LINE_ITEMS items + padding.
Fields§
§state: AtomicU64(epoch:32) << 32 | (n_items:16) << 16 | claim:16.
claim = 0 (empty), 1 (READY for claim).
items: [LineItem; 3]Inline items.
_pad: [u8; 8]Trailing padding to round to 64 bytes.
Auto Trait Implementations§
impl !Freeze for PublicationLine
impl RefUnwindSafe for PublicationLine
impl Send for PublicationLine
impl Sync for PublicationLine
impl Unpin for PublicationLine
impl UnsafeUnpin for PublicationLine
impl UnwindSafe for PublicationLine
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