pub struct InferOpts {
pub check_overflow: bool,
pub scrape_quals: bool,
pub solver: SmtSolver,
}
Expand description
Options that change the behavior of refinement type inference locally
Fields§
§check_overflow: bool
Enable overflow checking. This affects the signature of primitive operations and the invariants assumed for primitive types.
scrape_quals: bool
Whether qualifiers should be scraped from the constraint.
solver: SmtSolver
Trait Implementations§
Source§impl From<PartialInferOpts> for InferOpts
impl From<PartialInferOpts> for InferOpts
Source§fn from(opts: PartialInferOpts) -> Self
fn from(opts: PartialInferOpts) -> Self
Converts to this type from the input type.
impl Copy for InferOpts
Auto Trait Implementations§
impl Freeze for InferOpts
impl RefUnwindSafe for InferOpts
impl Send for InferOpts
impl Sync for InferOpts
impl Unpin for InferOpts
impl UnwindSafe for InferOpts
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)