pub struct Model {
pub rust: String,
pub lean: String,
pub instances: Vec<String>,
pub items: Vec<LockItem>,
pub obligation: Vec<Obligation>,
}Fields§
§rust: StringThe unit name of the Rust function (crate::sort::insert_sorted).
lean: StringThe Lean name of the model.
instances: Vec<String>The types of instances of a generic function, as written (without spaces).
items: Vec<LockItem>§obligation: Vec<Obligation>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Model
impl<'de> Deserialize<'de> for Model
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Model
Auto Trait Implementations§
impl Forget for Model
impl Freeze for Modelwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<LockItem>: Freeze,
PhantomData<Obligation>: Freeze,
impl Move for Model
impl RefUnwindSafe for Model
impl Send for Modelwhere
RawVecInner: Send,
impl Sync for Modelwhere
RawVecInner: Sync,
impl Unpin for Model
impl UnsafeUnpin for Modelwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<LockItem>: UnsafeUnpin,
PhantomData<Obligation>: UnsafeUnpin,
impl UnwindSafe for Modelwhere
RawVecInner: UnwindSafe,
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