#[non_exhaustive]pub enum FieldBudget {
Points(usize),
}Expand description
How much one Scene::field_step computes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Points(usize)
Up to this many candidate vertices (at least one), counted across the unit’s fields in field order.
Trait Implementations§
Source§impl Clone for FieldBudget
impl Clone for FieldBudget
Source§fn clone(&self) -> FieldBudget
fn clone(&self) -> FieldBudget
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 FieldBudget
Source§impl Debug for FieldBudget
impl Debug for FieldBudget
impl Eq for FieldBudget
Source§impl PartialEq for FieldBudget
impl PartialEq for FieldBudget
impl StructuralPartialEq for FieldBudget
Auto Trait Implementations§
impl Freeze for FieldBudget
impl RefUnwindSafe for FieldBudget
impl Send for FieldBudget
impl Sync for FieldBudget
impl Unpin for FieldBudget
impl UnsafeUnpin for FieldBudget
impl UnwindSafe for FieldBudget
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