pub struct AfterBlock {
pub binding: String,
pub predicate: AfterPredicate,
pub alias: Option<String>,
pub milestone: Option<String>,
pub body: Vec<BodyStmt>,
pub span: SourceSpan,
}Fields§
§binding: String§predicate: AfterPredicate§alias: Option<String>§milestone: Option<String>For after p reaches "<name>" as m: the child milestone name being
observed (Family C). None for every other predicate. The name lives
here rather than on AfterPredicate so the predicate stays a fieldless
Copy enum (see AfterPredicate::Reaches).
body: Vec<BodyStmt>§span: SourceSpanTrait Implementations§
Source§impl Clone for AfterBlock
impl Clone for AfterBlock
Source§fn clone(&self) -> AfterBlock
fn clone(&self) -> AfterBlock
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 AfterBlock
impl Debug for AfterBlock
impl Eq for AfterBlock
Source§impl PartialEq for AfterBlock
impl PartialEq for AfterBlock
impl StructuralPartialEq for AfterBlock
Auto Trait Implementations§
impl Freeze for AfterBlock
impl RefUnwindSafe for AfterBlock
impl Send for AfterBlock
impl Sync for AfterBlock
impl Unpin for AfterBlock
impl UnsafeUnpin for AfterBlock
impl UnwindSafe for AfterBlock
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