Struct rtlola_parser::ast::CloseSpec
source · [−]pub struct CloseSpec {
pub target: Expression,
pub annotated_pacing: Option<Expression>,
pub id: NodeId,
pub span: Span,
}
Expand description
An Ast node representing the declaration of a close condition of a stream template
Fields
target: Expression
The boolean expression defining the condition, if a stream instance is closed.
annotated_pacing: Option<Expression>
The pacing type describing when the close condition is evaluated.
id: NodeId
The id of the node in the Ast
span: Span
The span in the specification declaring the extend declaration
Trait Implementations
impl Eq for CloseSpec
impl StructuralEq for CloseSpec
impl StructuralPartialEq for CloseSpec
Auto Trait Implementations
impl RefUnwindSafe for CloseSpec
impl Send for CloseSpec
impl Sync for CloseSpec
impl Unpin for CloseSpec
impl UnwindSafe for CloseSpec
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