pub enum Allocation {
Words(usize),
List(AllocationList),
}
Variants§
Words(usize)
List(AllocationList)
Trait Implementations§
Source§impl Clone for Allocation
impl Clone for Allocation
Source§fn clone(&self) -> Allocation
fn clone(&self) -> Allocation
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 Allocation
impl Debug for Allocation
Source§impl Decode for Allocation
impl Decode for Allocation
fn decode_with_tag<R: Read>( reader: &mut R, tag: u8, ) -> Result<Self, DecodeError>
fn decode<R: Read>(reader: &mut R) -> Result<Self, DecodeError>
Source§impl Encode for Allocation
impl Encode for Allocation
Source§impl Hash for Allocation
impl Hash for Allocation
Source§impl PartialEq for Allocation
impl PartialEq for Allocation
impl Eq for Allocation
impl StructuralPartialEq for Allocation
Auto Trait Implementations§
impl Freeze for Allocation
impl RefUnwindSafe for Allocation
impl Send for Allocation
impl Sync for Allocation
impl Unpin for Allocation
impl UnwindSafe for Allocation
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