pub struct CloseSpec {
pub condition: Expression,
pub annotated_pacing: AnnotatedPacingType,
pub id: NodeId,
pub span: Span,
}Expand description
An Ast node representing the declaration of a close condition of a stream
Fields§
§condition: ExpressionThe boolean expression defining the condition, if a stream instance is closed.
annotated_pacing: AnnotatedPacingTypeThe pacing type describing when the close condition is evaluated.
id: NodeIdThe id of the node in the Ast
span: SpanThe span in the specification declaring the extend declaration
Trait Implementations§
Source§impl Ord for CloseSpec
impl Ord for CloseSpec
Source§impl PartialOrd for CloseSpec
impl PartialOrd for CloseSpec
impl Eq for CloseSpec
impl StructuralPartialEq for CloseSpec
Auto Trait Implementations§
impl Freeze for CloseSpec
impl RefUnwindSafe for CloseSpec
impl !Send for CloseSpec
impl !Sync for CloseSpec
impl Unpin for CloseSpec
impl UnwindSafe for CloseSpec
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<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