#[repr(transparent)]pub(crate) struct Tag(pub(super) u8);
Expand description
Single tag in a control group.
Tuple Fields§
§0: u8
Implementations§
source§impl Tag
impl Tag
sourcepub(crate) const fn is_full(self) -> bool
pub(crate) const fn is_full(self) -> bool
Checks whether a control tag represents a full bucket (top bit is clear).
sourcepub(crate) const fn is_special(self) -> bool
pub(crate) const fn is_special(self) -> bool
Checks whether a control tag represents a special value (top bit is set).
sourcepub(crate) const fn special_is_empty(self) -> bool
pub(crate) const fn special_is_empty(self) -> bool
Checks whether a special control value is EMPTY (just check 1 bit).
Trait Implementations§
impl Copy for Tag
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)