pub enum ReuseDecision {
Reuse(u32),
NewAlloc,
RcBump(u32),
StackAlloc,
Inline,
ScratchBuffer(u32),
}Expand description
Reuse decision
Variants§
Trait Implementations§
Source§impl Clone for ReuseDecision
impl Clone for ReuseDecision
Source§fn clone(&self) -> ReuseDecision
fn clone(&self) -> ReuseDecision
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReuseDecision
impl Debug for ReuseDecision
Source§impl Display for ReuseDecision
impl Display for ReuseDecision
Source§impl PartialEq for ReuseDecision
impl PartialEq for ReuseDecision
impl Eq for ReuseDecision
impl StructuralPartialEq for ReuseDecision
Auto Trait Implementations§
impl Freeze for ReuseDecision
impl RefUnwindSafe for ReuseDecision
impl Send for ReuseDecision
impl Sync for ReuseDecision
impl Unpin for ReuseDecision
impl UnsafeUnpin for ReuseDecision
impl UnwindSafe for ReuseDecision
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