pub struct QueryBudget {
pub max_variants: usize,
}Expand description
Query-variant generation budget passed to language backends.
Fields§
§max_variants: usizeMaximum number of query variants to produce for one query.
Trait Implementations§
Source§impl Clone for QueryBudget
impl Clone for QueryBudget
Source§fn clone(&self) -> QueryBudget
fn clone(&self) -> QueryBudget
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 QueryBudget
Source§impl Debug for QueryBudget
impl Debug for QueryBudget
Source§impl Default for QueryBudget
impl Default for QueryBudget
impl Eq for QueryBudget
Source§impl PartialEq for QueryBudget
impl PartialEq for QueryBudget
impl StructuralPartialEq for QueryBudget
Auto Trait Implementations§
impl Freeze for QueryBudget
impl RefUnwindSafe for QueryBudget
impl Send for QueryBudget
impl Sync for QueryBudget
impl Unpin for QueryBudget
impl UnsafeUnpin for QueryBudget
impl UnwindSafe for QueryBudget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more