pub struct Block<O, T, Y> {
pub term: T,
pub insts: Vec<Id<Value<O, T, Y>>>,
pub params: Vec<(Y, Id<Value<O, T, Y>>)>,
}Fields§
§term: T§insts: Vec<Id<Value<O, T, Y>>>§params: Vec<(Y, Id<Value<O, T, Y>>)>Trait Implementations§
Source§impl<O, T: Term<Func<O, T, Y>, Target = Target<O, T, Y>>, Y: Clone> Block<Func<O, T, Y>> for Block<O, T, Y>
impl<O, T: Term<Func<O, T, Y>, Target = Target<O, T, Y>>, Y: Clone> Block<Func<O, T, Y>> for Block<O, T, Y>
type Terminator = T
fn term(&self) -> &Self::Terminator
fn term_mut(&mut self) -> &mut Self::Terminator
Auto Trait Implementations§
impl<O, T, Y> Freeze for Block<O, T, Y>where
T: Freeze,
impl<O, T, Y> RefUnwindSafe for Block<O, T, Y>where
T: RefUnwindSafe,
Y: RefUnwindSafe,
impl<O, T, Y> Send for Block<O, T, Y>
impl<O, T, Y> Sync for Block<O, T, Y>
impl<O, T, Y> Unpin for Block<O, T, Y>
impl<O, T, Y> UnwindSafe for Block<O, T, Y>where
T: UnwindSafe,
Y: 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
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