Struct awint_macro_internals::PBind
source · pub struct PBind { /* private fields */ }
Trait Implementations§
source§impl Ord for PBind
impl Ord for PBind
source§impl PartialEq for PBind
impl PartialEq for PBind
source§impl PartialOrd for PBind
impl PartialOrd for PBind
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Ptr for PBind
impl Ptr for PBind
§type Gen = ()
type Gen = ()
The recommended general purpose type for this is
NonZeroU64
if
generation tracking is wanted, otherwise ()
.source§fn invalid() -> Self
fn invalid() -> Self
Returns a new
Ptr
with a generation value PtrGen::one()
. Because the
arena starts with generation 2, this is guaranteed invalid when
generation counters are used. The raw index is also set to Inx::max()
which should also cause failures with the generationless case, but be
aware this can be reached practically with small Inx
types.impl Copy for PBind
impl Eq for PBind
impl StructuralPartialEq for PBind
Auto Trait Implementations§
impl RefUnwindSafe for PBind
impl Send for PBind
impl Sync for PBind
impl Unpin for PBind
impl UnwindSafe for PBind
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