pub struct WholeRowUses { /* private fields */ }Implementations§
Source§impl WholeRowUses
impl WholeRowUses
pub fn for_derived( select: &Select, narrowed: bool, order: &[OrderByExpr], ) -> Option<Self>
pub fn narrows_derived(&self, factor: &TableFactor) -> bool
Trait Implementations§
Source§impl Default for WholeRowUses
impl Default for WholeRowUses
Source§impl Visitor for WholeRowUses
impl Visitor for WholeRowUses
Source§fn pre_visit_query(&mut self, _: &Query) -> ControlFlow<()>
fn pre_visit_query(&mut self, _: &Query) -> ControlFlow<()>
Invoked for any queries that appear in the AST before visiting children
Source§fn post_visit_query(&mut self, _: &Query) -> ControlFlow<()>
fn post_visit_query(&mut self, _: &Query) -> ControlFlow<()>
Invoked for any queries that appear in the AST after visiting children
Source§fn pre_visit_select(&mut self, select: &Select) -> ControlFlow<()>
fn pre_visit_select(&mut self, select: &Select) -> ControlFlow<()>
Invoked for any Select that appear in the AST before visiting children
Source§fn post_visit_select(&mut self, _: &Select) -> ControlFlow<()>
fn post_visit_select(&mut self, _: &Select) -> ControlFlow<()>
Invoked for any Select that appear in the AST after visiting children
Source§fn pre_visit_table_factor(&mut self, factor: &TableFactor) -> ControlFlow<()>
fn pre_visit_table_factor(&mut self, factor: &TableFactor) -> ControlFlow<()>
Invoked for any table factors that appear in the AST before visiting children
Source§fn post_visit_table_factor(&mut self, factor: &TableFactor) -> ControlFlow<()>
fn post_visit_table_factor(&mut self, factor: &TableFactor) -> ControlFlow<()>
Invoked for any table factors that appear in the AST after visiting children
Source§fn pre_visit_expr(&mut self, expr: &Expr) -> ControlFlow<()>
fn pre_visit_expr(&mut self, expr: &Expr) -> ControlFlow<()>
Invoked for any expressions that appear in the AST before visiting children
Source§fn pre_visit_relation(
&mut self,
_relation: &ObjectName,
) -> ControlFlow<Self::Break>
fn pre_visit_relation( &mut self, _relation: &ObjectName, ) -> ControlFlow<Self::Break>
Invoked for any relations (e.g. tables) that appear in the AST before visiting children
Source§fn post_visit_relation(
&mut self,
_relation: &ObjectName,
) -> ControlFlow<Self::Break>
fn post_visit_relation( &mut self, _relation: &ObjectName, ) -> ControlFlow<Self::Break>
Invoked for any relations (e.g. tables) that appear in the AST after visiting children
Source§fn post_visit_expr(&mut self, _expr: &Expr) -> ControlFlow<Self::Break>
fn post_visit_expr(&mut self, _expr: &Expr) -> ControlFlow<Self::Break>
Invoked for any expressions that appear in the AST
Source§fn pre_visit_statement(
&mut self,
_statement: &Statement,
) -> ControlFlow<Self::Break>
fn pre_visit_statement( &mut self, _statement: &Statement, ) -> ControlFlow<Self::Break>
Invoked for any statements that appear in the AST before visiting children
Source§fn post_visit_statement(
&mut self,
_statement: &Statement,
) -> ControlFlow<Self::Break>
fn post_visit_statement( &mut self, _statement: &Statement, ) -> ControlFlow<Self::Break>
Invoked for any statements that appear in the AST after visiting children
Source§fn pre_visit_value(
&mut self,
_value: &ValueWithSpan,
) -> ControlFlow<Self::Break>
fn pre_visit_value( &mut self, _value: &ValueWithSpan, ) -> ControlFlow<Self::Break>
Invoked for any Value that appear in the AST before visiting children
Source§fn post_visit_value(
&mut self,
_value: &ValueWithSpan,
) -> ControlFlow<Self::Break>
fn post_visit_value( &mut self, _value: &ValueWithSpan, ) -> ControlFlow<Self::Break>
Invoked for any Value that appear in the AST after visiting children
Source§fn pre_visit_ident(&mut self, _ident: &Ident) -> ControlFlow<Self::Break>
fn pre_visit_ident(&mut self, _ident: &Ident) -> ControlFlow<Self::Break>
Invoked for any identifiers that appear in the AST before visiting children
Source§fn post_visit_ident(&mut self, _ident: &Ident) -> ControlFlow<Self::Break>
fn post_visit_ident(&mut self, _ident: &Ident) -> ControlFlow<Self::Break>
Invoked for any identifiers that appear in the AST after visiting children
Source§fn pre_visit_order_by(
&mut self,
_order_by: &OrderBy,
) -> ControlFlow<Self::Break>
fn pre_visit_order_by( &mut self, _order_by: &OrderBy, ) -> ControlFlow<Self::Break>
Invoked for any
ORDER BY clauses that appear in the AST before visiting childrenSource§fn post_visit_order_by(
&mut self,
_order_by: &OrderBy,
) -> ControlFlow<Self::Break>
fn post_visit_order_by( &mut self, _order_by: &OrderBy, ) -> ControlFlow<Self::Break>
Invoked for any
ORDER BY clauses that appear in the AST after visiting childrenSource§fn pre_visit_order_by_expr(
&mut self,
_order_by_expr: &OrderByExpr,
) -> ControlFlow<Self::Break>
fn pre_visit_order_by_expr( &mut self, _order_by_expr: &OrderByExpr, ) -> ControlFlow<Self::Break>
Invoked for any
ORDER BY expressions that appear in the AST before visiting childrenSource§fn post_visit_order_by_expr(
&mut self,
_order_by_expr: &OrderByExpr,
) -> ControlFlow<Self::Break>
fn post_visit_order_by_expr( &mut self, _order_by_expr: &OrderByExpr, ) -> ControlFlow<Self::Break>
Invoked for any
ORDER BY expressions that appear in the AST after visiting childrenSource§fn pre_visit_group_by(
&mut self,
_group_by: &GroupByExpr,
) -> ControlFlow<Self::Break>
fn pre_visit_group_by( &mut self, _group_by: &GroupByExpr, ) -> ControlFlow<Self::Break>
Invoked for any
GROUP BY clauses that appear in the AST before visiting childrenSource§fn post_visit_group_by(
&mut self,
_group_by: &GroupByExpr,
) -> ControlFlow<Self::Break>
fn post_visit_group_by( &mut self, _group_by: &GroupByExpr, ) -> ControlFlow<Self::Break>
Invoked for any
GROUP BY clauses that appear in the AST after visiting childrenAuto Trait Implementations§
impl !Send for WholeRowUses
impl !Sync for WholeRowUses
impl Forget for WholeRowUses
impl Freeze for WholeRowUseswhere
*const u8 is !null: Freeze,
PhantomData<(String, ())>: Freeze,
PhantomData<*const Expr>: Freeze,
PhantomData<Frame>: Freeze,
impl Move for WholeRowUses
impl RefUnwindSafe for WholeRowUses
impl Unpin for WholeRowUses
impl UnsafeUnpin for WholeRowUseswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, ())>: UnsafeUnpin,
PhantomData<*const Expr>: UnsafeUnpin,
PhantomData<Frame>: UnsafeUnpin,
impl UnwindSafe for WholeRowUses
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