[][src]Struct postgres_parser::sys::A_Indirection

#[repr(C)]pub struct A_Indirection {
    pub type_: NodeTag,
    pub arg: *mut Node,
    pub indirection: *mut List,
}

A_Indirection select a field and/or array element from an expression

The indirection list can contain A_Indices nodes (representing subscripting), string Value nodes (representing field selection the string value is the name of the field to select), and A_Star nodes (representing selection of all fields of a composite type). For example, a complex selection operation like (foo).field1[42][7].field2 would be represented with a single A_Indirection node having a 4element indirection list.

Currently, A_Star must appear only as the last list element the grammar is responsible for enforcing this!

Fields

type_: NodeTagarg: *mut Nodeindirection: *mut List

the thing being selected from

Trait Implementations

impl Debug for A_Indirection[src]

impl Default for A_Indirection[src]

impl Eq for A_Indirection[src]

impl Hash for A_Indirection[src]

impl PartialEq<A_Indirection> for A_Indirection[src]

impl StructuralEq for A_Indirection[src]

impl StructuralPartialEq for A_Indirection[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.