pub enum ParamType {
Field(FieldType),
Stream(StreamType),
}Expand description
The type of a command or query parameter — the ParamType alternation
(ridl reference §6.1, §7.1, §12): a field type or a stream <T>.
Variants§
Field(FieldType)
Stream(StreamType)
Trait Implementations§
Source§impl AstNode for ParamType
impl AstNode for ParamType
Source§fn cast(syntax: SyntaxNode) -> Option<Self>
fn cast(syntax: SyntaxNode) -> Option<Self>
Wraps
syntax if its kind matches this type; None otherwise.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
The underlying untyped node.
impl Eq for ParamType
impl StructuralPartialEq for ParamType
Auto Trait Implementations§
impl !RefUnwindSafe for ParamType
impl !Send for ParamType
impl !Sync for ParamType
impl !UnwindSafe for ParamType
impl Freeze for ParamType
impl Unpin for ParamType
impl UnsafeUnpin for ParamType
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