Struct transform::projection_lifting::ProjectionLifting [−][src]
pub struct ProjectionLifting {
recursion_guard: RecursionGuard,
}
Expand description
Hoist projections through operators.
Fields
recursion_guard: RecursionGuard
Implementations
pub fn action(
&self,
relation: &mut MirRelationExpr,
gets: &mut HashMap<Id, (RelationType, Vec<usize>)>
) -> Result<(), TransformError>
pub fn action(
&self,
relation: &mut MirRelationExpr,
gets: &mut HashMap<Id, (RelationType, Vec<usize>)>
) -> Result<(), TransformError>
Hoist projections through operators.
Trait Implementations
Extracts a reference to the recursion guard embedded within the type.
fn checked_recur<F, T, E>(&self, f: F) -> Result<T, E> where
F: FnOnce(&Self) -> Result<T, E>,
E: From<RecursionLimitError>,
fn checked_recur<F, T, E>(&self, f: F) -> Result<T, E> where
F: FnOnce(&Self) -> Result<T, E>,
E: From<RecursionLimitError>,
Checks whether it is safe to recur and calls f
if so. Read more
fn checked_recur_mut<F, T, E>(&mut self, f: F) -> Result<T, E> where
F: FnOnce(&mut Self) -> Result<T, E>,
E: From<RecursionLimitError>,
fn checked_recur_mut<F, T, E>(&mut self, f: F) -> Result<T, E> where
F: FnOnce(&mut Self) -> Result<T, E>,
E: From<RecursionLimitError>,
Like CheckedRecursion::checked_recur
, but operates on a mutable
reference to Self
. Read more
Returns the “default value” for a type. Read more
fn transform(
&self,
relation: &mut MirRelationExpr,
_: TransformArgs<'_>
) -> Result<(), TransformError>
fn transform(
&self,
relation: &mut MirRelationExpr,
_: TransformArgs<'_>
) -> Result<(), TransformError>
Transform a relation into a functionally equivalent relation.
Auto Trait Implementations
impl !RefUnwindSafe for ProjectionLifting
impl Send for ProjectionLifting
impl !Sync for ProjectionLifting
impl Unpin for ProjectionLifting
impl UnwindSafe for ProjectionLifting
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more