pub struct StatesDefinition {
pub span: Span,
pub opts: Option<Vec1<Identifier>>,
pub body: Vec<StatesBodyItem>,
}
Fields§
§span: Span
§opts: Option<Vec1<Identifier>>
§body: Vec<StatesBodyItem>
Trait Implementations§
Source§impl Clone for StatesDefinition
impl Clone for StatesDefinition
Source§fn clone(&self) -> StatesDefinition
fn clone(&self) -> StatesDefinition
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 StatesDefinition
impl Debug for StatesDefinition
Source§impl PartialEq for StatesDefinition
impl PartialEq for StatesDefinition
impl StructuralPartialEq for StatesDefinition
Auto Trait Implementations§
impl Freeze for StatesDefinition
impl RefUnwindSafe for StatesDefinition
impl Send for StatesDefinition
impl Sync for StatesDefinition
impl Unpin for StatesDefinition
impl UnwindSafe for StatesDefinition
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