pub struct StateBlock {
pub elements: Vec<StateElement>,
}Expand description
A block of state elements with variable assignments computed. Note that this block
does not create a new scope, unlike a Rust { block }.
Fields§
§elements: Vec<StateElement>Assigned elements.
Trait Implementations§
Source§impl Debug for StateBlock
impl Debug for StateBlock
Source§impl Default for StateBlock
impl Default for StateBlock
Source§fn default() -> StateBlock
fn default() -> StateBlock
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StateBlock
impl !RefUnwindSafe for StateBlock
impl !Send for StateBlock
impl !Sync for StateBlock
impl Unpin for StateBlock
impl !UnwindSafe for StateBlock
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