pub struct UsizeBuddy { /* private fields */ }
Expand description

用一个 usize 作为位图保存占用情况的伙伴行。

  • 非侵入式
  • 静态分配,容量有限

Trait Implementations

提取任何一个满足 align_order 的内存块。 Read more
放入一个元素 idxRead more
空集合。用于静态初始化。
伙伴分配器可能需要集合知道自己的阶数和基序号。
提取指定位置的元素,返回是否提取到。
侵入式元数据的大小。
Formats the value using the given formatter. Read more
提取任何 count 个满足 align_order 的内存块。 Read more
放入一个元素 idx

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.