pub struct StateBlock {
pub name: String,
pub on_enter: Block,
pub on_update: Block,
pub span: Span,
}Fields§
§name: String§on_enter: Block§on_update: Block§span: SpanTrait Implementations§
Source§impl Clone for StateBlock
impl Clone for StateBlock
Source§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 UnsafeUnpin 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