pub struct PlpgsqlIfStmt { /* private fields */ }Implementations§
Source§impl PlpgsqlIfStmt
impl PlpgsqlIfStmt
pub fn cond(&self) -> Option<PlpgsqlExpr>
pub fn else_clause(&self) -> Option<PlpgsqlElseClause>
pub fn elsifs(&self) -> AstChildren<PlpgsqlElsifClause> ⓘ
pub fn then_body(&self) -> Option<PlpgsqlBody>
pub fn semicolon_token(&self) -> Option<SyntaxToken>
pub fn end_token(&self) -> Option<SyntaxToken>
pub fn if_token(&self) -> Option<SyntaxToken>
pub fn then_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for PlpgsqlIfStmt
impl AstNode for PlpgsqlIfStmt
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for PlpgsqlIfStmt
impl Clone for PlpgsqlIfStmt
Source§impl Debug for PlpgsqlIfStmt
impl Debug for PlpgsqlIfStmt
impl Eq for PlpgsqlIfStmt
Source§impl From<PlpgsqlIfStmt> for PlpgsqlStmt
impl From<PlpgsqlIfStmt> for PlpgsqlStmt
Source§fn from(node: PlpgsqlIfStmt) -> PlpgsqlStmt
fn from(node: PlpgsqlIfStmt) -> PlpgsqlStmt
Converts to this type from the input type.
Source§impl Hash for PlpgsqlIfStmt
impl Hash for PlpgsqlIfStmt
Source§impl PartialEq for PlpgsqlIfStmt
impl PartialEq for PlpgsqlIfStmt
impl StructuralPartialEq for PlpgsqlIfStmt
Auto Trait Implementations§
impl !RefUnwindSafe for PlpgsqlIfStmt
impl !Send for PlpgsqlIfStmt
impl !Sync for PlpgsqlIfStmt
impl !UnwindSafe for PlpgsqlIfStmt
impl Freeze for PlpgsqlIfStmt
impl Unpin for PlpgsqlIfStmt
impl UnsafeUnpin for PlpgsqlIfStmt
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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