pub struct SimpleBlock<'s> {
pub statements: Vec<Statement<'s>>,
pub span: Span,
}Fields§
§statements: Vec<Statement<'s>>§span: SpanTrait Implementations§
Source§impl<'s> Clone for SimpleBlock<'s>
impl<'s> Clone for SimpleBlock<'s>
Source§fn clone(&self) -> SimpleBlock<'s>
fn clone(&self) -> SimpleBlock<'s>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'s> Debug for SimpleBlock<'s>
impl<'s> Debug for SimpleBlock<'s>
Source§impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for SimpleBlock<'s>
impl<'cmt, 's: 'cmt> Parse<'cmt, 's> for SimpleBlock<'s>
Source§impl<'s> PartialEq for SimpleBlock<'s>
impl<'s> PartialEq for SimpleBlock<'s>
impl<'s> StructuralPartialEq for SimpleBlock<'s>
Auto Trait Implementations§
impl<'s> Freeze for SimpleBlock<'s>
impl<'s> RefUnwindSafe for SimpleBlock<'s>
impl<'s> Send for SimpleBlock<'s>
impl<'s> Sync for SimpleBlock<'s>
impl<'s> Unpin for SimpleBlock<'s>
impl<'s> UnwindSafe for SimpleBlock<'s>
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