#[repr(C)]pub struct Set {
pub base: u32,
pub free: u32,
pub temp: u32,
pub defs: [u32; 32],
}Fields§
§base: u32which registers are in the set that the allocator manages (initialized at construction)
free: u32which subset of initial set is free
temp: u32which subset of initial set is allocated as temporary
defs: [u32; 32]which instruction is defining which register (for spilling); only valid if not free and not temp
Trait Implementations§
impl Copy for Set
impl Eq for Set
impl StructuralPartialEq for Set
Auto Trait Implementations§
impl Freeze for Set
impl RefUnwindSafe for Set
impl Send for Set
impl Sync for Set
impl Unpin for Set
impl UnsafeUnpin for Set
impl UnwindSafe for Set
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