pub struct Model<E: Environment> {
pub definitions: Vec<Definition<E>>,
}
Expand description
Model.
Fields§
§definitions: Vec<Definition<E>>
Trait Implementations§
Source§impl<E: Environment> Display for Model<E>
impl<E: Environment> Display for Model<E>
Source§impl<E: Environment> Untypable for Model<E>
impl<E: Environment> Untypable for Model<E>
type Sort = <E as Environment>::Sort
type Environment = E
fn type_decoration( &mut self, checker: &mut TypeChecker<Self::Sort>, env: &Self::Environment, )
Auto Trait Implementations§
impl<E> Freeze for Model<E>
impl<E> RefUnwindSafe for Model<E>where
<E as Environment>::Function: RefUnwindSafe,
<E as Environment>::Sort: RefUnwindSafe,
<E as Environment>::Constant: RefUnwindSafe,
<E as Environment>::Ident: RefUnwindSafe,
impl<E> Send for Model<E>where
<E as Environment>::Function: Send,
<E as Environment>::Sort: Send,
<E as Environment>::Constant: Send,
<E as Environment>::Ident: Send,
impl<E> Sync for Model<E>where
<E as Environment>::Function: Sync,
<E as Environment>::Sort: Sync,
<E as Environment>::Constant: Sync,
<E as Environment>::Ident: Sync,
impl<E> Unpin for Model<E>where
<E as Environment>::Function: Unpin,
<E as Environment>::Sort: Unpin,
<E as Environment>::Constant: Unpin,
<E as Environment>::Ident: Unpin,
impl<E> UnwindSafe for Model<E>where
<E as Environment>::Function: UnwindSafe,
<E as Environment>::Sort: UnwindSafe,
<E as Environment>::Constant: UnwindSafe,
<E as Environment>::Ident: 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