pub enum CodePlacement {
Cold,
Hot,
}Expand description
Section a function is placed in, so the linker groups it with other cold or hot code.
Variants§
Trait Implementations§
Source§impl Clone for CodePlacement
impl Clone for CodePlacement
impl Copy for CodePlacement
Source§impl Debug for CodePlacement
impl Debug for CodePlacement
impl Eq for CodePlacement
Source§impl PartialEq for CodePlacement
impl PartialEq for CodePlacement
impl StructuralPartialEq for CodePlacement
Auto Trait Implementations§
impl Freeze for CodePlacement
impl RefUnwindSafe for CodePlacement
impl Send for CodePlacement
impl Sync for CodePlacement
impl Unpin for CodePlacement
impl UnsafeUnpin for CodePlacement
impl UnwindSafe for CodePlacement
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