pub struct InlineLogic { /* private fields */ }Implementations§
Source§impl InlineLogic
impl InlineLogic
pub fn inner_expression(&self) -> Option<InnerExpression>
pub fn conditional(&self) -> Option<ConditionalWithExpr>
pub fn sequence(&self) -> Option<SequenceWithAnnotation>
pub fn implicit_sequence(&self) -> Option<ImplicitSequence>
pub fn multiline_conditional(&self) -> Option<MultilineConditional>
Trait Implementations§
Source§impl AstNode for InlineLogic
impl AstNode for InlineLogic
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Returns
true if a node with the given kind can be cast to Self.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Try to cast a generic
SyntaxNode into this typed wrapper.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
Access the underlying
SyntaxNode.Source§impl Clone for InlineLogic
impl Clone for InlineLogic
Source§fn clone(&self) -> InlineLogic
fn clone(&self) -> InlineLogic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InlineLogic
impl Debug for InlineLogic
Source§impl Display for InlineLogic
impl Display for InlineLogic
impl Eq for InlineLogic
Source§impl Hash for InlineLogic
impl Hash for InlineLogic
Source§impl PartialEq for InlineLogic
impl PartialEq for InlineLogic
Source§fn eq(&self, other: &InlineLogic) -> bool
fn eq(&self, other: &InlineLogic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InlineLogic
Auto Trait Implementations§
impl !RefUnwindSafe for InlineLogic
impl !Send for InlineLogic
impl !Sync for InlineLogic
impl !UnwindSafe for InlineLogic
impl Freeze for InlineLogic
impl Unpin for InlineLogic
impl UnsafeUnpin for InlineLogic
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