Struct rtlola_parser::ast::Parenthesis
source · [−]Expand description
An Ast node representing an opening or closing parenthesis.
Fields
id: NodeIdThe id of the node in the Ast
span: SpanThe span in the specification declaring the extend declaration
Trait Implementations
sourceimpl Clone for Parenthesis
impl Clone for Parenthesis
sourcefn clone(&self) -> Parenthesis
fn clone(&self) -> Parenthesis
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for Parenthesis
impl Debug for Parenthesis
sourceimpl Hash for Parenthesis
impl Hash for Parenthesis
sourceimpl PartialEq<Parenthesis> for Parenthesis
impl PartialEq<Parenthesis> for Parenthesis
sourcefn eq(&self, other: &Parenthesis) -> bool
fn eq(&self, other: &Parenthesis) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &Parenthesis) -> bool
fn ne(&self, other: &Parenthesis) -> bool
This method tests for !=.
impl Eq for Parenthesis
impl StructuralEq for Parenthesis
impl StructuralPartialEq for Parenthesis
Auto Trait Implementations
impl RefUnwindSafe for Parenthesis
impl Send for Parenthesis
impl Sync for Parenthesis
impl Unpin for Parenthesis
impl UnwindSafe for Parenthesis
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more