#[repr(C)]pub struct TypeName {
pub type_: NodeTag,
pub names: *mut List,
pub typeOid: Oid,
pub setof: bool,
pub pct_type: bool,
pub typmods: *mut List,
pub typemod: int32,
pub arrayBounds: *mut List,
pub location: c_int,
}
Expand description
Supporting data structures for Parse Trees
Most of these node types appear in raw parsetrees output by the grammar, and get transformed to something else by the analyzer. A few of them are used as-is in transformed querytrees.
Fields§
§type_: NodeTag
§names: *mut List
§typeOid: Oid
§setof: bool
§pct_type: bool
§typmods: *mut List
§typemod: int32
§arrayBounds: *mut List
§location: c_int
Trait Implementations§
impl Copy for TypeName
Auto Trait Implementations§
impl Freeze for TypeName
impl RefUnwindSafe for TypeName
impl !Send for TypeName
impl !Sync for TypeName
impl Unpin for TypeName
impl UnwindSafe for TypeName
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