pub trait BuddyLine {
const EMPTY: Self;
const INTRUSIVE_META_SIZE: usize = 0usize;
// Provided methods
fn init(&mut self, _order: usize, _base: usize) { ... }
fn take(&mut self, _idx: usize) -> bool { ... }
}Expand description
伙伴分配器的一个行。
Required Associated Constants§
Provided Associated Constants§
Sourceconst INTRUSIVE_META_SIZE: usize = 0usize
const INTRUSIVE_META_SIZE: usize = 0usize
侵入式元数据的大小。
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.