pub struct StateUsage {
pub name: String,
pub type_name: Option<String>,
pub body: StateDefBody,
}Expand description
State usage: state name (: type)? body.
Fields§
§name: String§type_name: Option<String>§body: StateDefBodyTrait Implementations§
Source§impl Clone for StateUsage
impl Clone for StateUsage
Source§fn clone(&self) -> StateUsage
fn clone(&self) -> StateUsage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StateUsage
impl Debug for StateUsage
impl Eq for StateUsage
Source§impl PartialEq for StateUsage
impl PartialEq for StateUsage
Source§fn eq(&self, other: &StateUsage) -> bool
fn eq(&self, other: &StateUsage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StateUsage
Auto Trait Implementations§
impl Freeze for StateUsage
impl RefUnwindSafe for StateUsage
impl Send for StateUsage
impl Sync for StateUsage
impl Unpin for StateUsage
impl UnsafeUnpin for StateUsage
impl UnwindSafe for StateUsage
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