pub struct ContractualInvariantState<'tcx> {
pub contracts: Vec<PropertyContract<'tcx>>,
}
Fields§
§contracts: Vec<PropertyContract<'tcx>>
Implementations§
Source§impl<'tcx> ContractualInvariantState<'tcx>
impl<'tcx> ContractualInvariantState<'tcx>
pub fn new_default() -> Self
pub fn add_contract(&mut self, contract: PropertyContract<'tcx>)
pub fn get_contracts_length(&self) -> usize
Trait Implementations§
Source§impl<'tcx> Clone for ContractualInvariantState<'tcx>
impl<'tcx> Clone for ContractualInvariantState<'tcx>
Source§fn clone(&self) -> ContractualInvariantState<'tcx>
fn clone(&self) -> ContractualInvariantState<'tcx>
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 moreAuto Trait Implementations§
impl<'tcx> Freeze for ContractualInvariantState<'tcx>
impl<'tcx> !RefUnwindSafe for ContractualInvariantState<'tcx>
impl<'tcx> Send for ContractualInvariantState<'tcx>
impl<'tcx> Sync for ContractualInvariantState<'tcx>
impl<'tcx> Unpin for ContractualInvariantState<'tcx>
impl<'tcx> !UnwindSafe for ContractualInvariantState<'tcx>
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