pub struct ActionBodyDecl {
pub keyword: String,
pub text: String,
}Expand description
A minimally-modeled declaration inside an action/behavior body (e.g. attribute ...;, calc ...;).
Fields§
§keyword: String§text: StringTrait Implementations§
Source§impl Clone for ActionBodyDecl
impl Clone for ActionBodyDecl
Source§fn clone(&self) -> ActionBodyDecl
fn clone(&self) -> ActionBodyDecl
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 ActionBodyDecl
impl Debug for ActionBodyDecl
impl Eq for ActionBodyDecl
Source§impl PartialEq for ActionBodyDecl
impl PartialEq for ActionBodyDecl
Source§fn eq(&self, other: &ActionBodyDecl) -> bool
fn eq(&self, other: &ActionBodyDecl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ActionBodyDecl
Auto Trait Implementations§
impl Freeze for ActionBodyDecl
impl RefUnwindSafe for ActionBodyDecl
impl Send for ActionBodyDecl
impl Sync for ActionBodyDecl
impl Unpin for ActionBodyDecl
impl UnsafeUnpin for ActionBodyDecl
impl UnwindSafe for ActionBodyDecl
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