pub struct Block<S> {
pub statements: Vec<Statement<S>>,
pub return_statement: Option<ReturnStatement<S>>,
}Fields§
§statements: Vec<Statement<S>>§return_statement: Option<ReturnStatement<S>>Trait Implementations§
source§impl<S: PartialEq> PartialEq<Block<S>> for Block<S>
impl<S: PartialEq> PartialEq<Block<S>> for Block<S>
impl<S> StructuralPartialEq for Block<S>
Auto Trait Implementations§
impl<S> RefUnwindSafe for Block<S>where S: RefUnwindSafe,
impl<S> Send for Block<S>where S: Send,
impl<S> Sync for Block<S>where S: Sync,
impl<S> Unpin for Block<S>where S: Unpin,
impl<S> UnwindSafe for Block<S>where S: UnwindSafe,
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