pub enum RegAllocStrategy {
LinearScan,
GraphColor,
}Expand description
Register allocation strategy used by allocate_registers.
Variants§
Trait Implementations§
Source§impl Clone for RegAllocStrategy
impl Clone for RegAllocStrategy
Source§fn clone(&self) -> RegAllocStrategy
fn clone(&self) -> RegAllocStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RegAllocStrategy
Source§impl Debug for RegAllocStrategy
impl Debug for RegAllocStrategy
Source§impl Default for RegAllocStrategy
impl Default for RegAllocStrategy
Source§fn default() -> RegAllocStrategy
fn default() -> RegAllocStrategy
Returns the “default value” for a type. Read more
impl Eq for RegAllocStrategy
Source§impl PartialEq for RegAllocStrategy
impl PartialEq for RegAllocStrategy
impl StructuralPartialEq for RegAllocStrategy
Auto Trait Implementations§
impl Freeze for RegAllocStrategy
impl RefUnwindSafe for RegAllocStrategy
impl Send for RegAllocStrategy
impl Sync for RegAllocStrategy
impl Unpin for RegAllocStrategy
impl UnsafeUnpin for RegAllocStrategy
impl UnwindSafe for RegAllocStrategy
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