pub struct StateBlock {
pub fields: Vec<StateField>,
pub span: Span,
}Expand description
state { field: type = default, ... }
Fields§
§fields: Vec<StateField>§span: SpanTrait Implementations§
Source§impl Clone for StateBlock
impl Clone for StateBlock
Source§fn clone(&self) -> StateBlock
fn clone(&self) -> StateBlock
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 Debug for StateBlock
impl Debug for StateBlock
Source§impl<'de> Deserialize<'de> for StateBlock
impl<'de> Deserialize<'de> for StateBlock
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StateBlock
impl PartialEq for StateBlock
Source§impl Serialize for StateBlock
impl Serialize for StateBlock
impl StructuralPartialEq for StateBlock
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