pub struct Program {
pub params: Vec<Param>,
pub body: Vec<Stmt>,
pub frozen_key: Option<usize>,
pub frozen_entries: Vec<FrozenEntry>,
pub scalar_fields: Vec<String>,
}Fields§
§params: Vec<Param>§body: Vec<Stmt>§frozen_key: Option<usize>Parameter index that selects frozen_entries. None for ordinary bodies.
frozen_entries: Vec<FrozenEntry>§scalar_fields: Vec<String>Implementations§
Trait Implementations§
impl Eq for Program
impl StructuralPartialEq for Program
Auto Trait Implementations§
impl Forget for Program
impl Freeze for Programwhere
*const u8 is !null: Freeze,
PhantomData<Param>: Freeze,
PhantomData<Stmt>: Freeze,
PhantomData<FrozenEntry>: Freeze,
PhantomData<String>: Freeze,
impl Move for Program
impl RefUnwindSafe for Program
impl Send for Program
impl Sync for Program
impl Unpin for Program
impl UnsafeUnpin for Programwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Param>: UnsafeUnpin,
PhantomData<Stmt>: UnsafeUnpin,
PhantomData<FrozenEntry>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Program
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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