pub struct BlobLen(/* private fields */);Expand description
A non-zero payload length for an art image or binary tag. The non-zero
invariant encodes the layout’s EmptySegment rule at the type level:
a degenerate empty payload is dropped at the construction boundary, so a
metadata segment can never carry a zero length.
Implementations§
Trait Implementations§
impl Copy for BlobLen
impl Eq for BlobLen
impl StructuralPartialEq for BlobLen
Auto Trait Implementations§
impl Freeze for BlobLen
impl RefUnwindSafe for BlobLen
impl Send for BlobLen
impl Sync for BlobLen
impl Unpin for BlobLen
impl UnsafeUnpin for BlobLen
impl UnwindSafe for BlobLen
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