pub struct ExBudget {
pub mem: i64,
pub cpu: i64,
}Fields§
§mem: i64§cpu: i64Implementations§
Source§impl ExBudget
impl ExBudget
pub fn new(mem: i64, cpu: i64) -> Self
pub fn max() -> Self
pub fn occurrences(&mut self, n: i64)
pub fn machine() -> Self
pub fn machine_max() -> Self
pub fn start_up() -> Self
pub fn var() -> Self
pub fn constant() -> Self
pub fn lambda() -> Self
pub fn delay() -> Self
pub fn force() -> Self
pub fn apply() -> Self
pub fn builtin() -> Self
pub fn constr() -> Self
pub fn case() -> Self
Trait Implementations§
impl Copy for ExBudget
impl StructuralPartialEq for ExBudget
Auto Trait Implementations§
impl Freeze for ExBudget
impl RefUnwindSafe for ExBudget
impl Send for ExBudget
impl Sync for ExBudget
impl Unpin for ExBudget
impl UnsafeUnpin for ExBudget
impl UnwindSafe for ExBudget
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