#[repr(u8)]pub enum BudgetType {
Time = 0,
Candidates = 1,
DistanceOps = 2,
}Expand description
Which budget cap was hit.
Variants§
Trait Implementations§
Source§impl Clone for BudgetType
impl Clone for BudgetType
Source§fn clone(&self) -> BudgetType
fn clone(&self) -> BudgetType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BudgetType
impl Debug for BudgetType
Source§impl Hash for BudgetType
impl Hash for BudgetType
Source§impl PartialEq for BudgetType
impl PartialEq for BudgetType
impl Copy for BudgetType
impl Eq for BudgetType
impl StructuralPartialEq for BudgetType
Auto Trait Implementations§
impl Freeze for BudgetType
impl RefUnwindSafe for BudgetType
impl Send for BudgetType
impl Sync for BudgetType
impl Unpin for BudgetType
impl UnsafeUnpin for BudgetType
impl UnwindSafe for BudgetType
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