pub struct UpdateDecl {
pub param: Param,
pub body: Block,
pub span: Span,
}Expand description
update(dt: number) { body }
Fields§
§param: Param§body: Block§span: SpanTrait Implementations§
Source§impl Clone for UpdateDecl
impl Clone for UpdateDecl
Source§fn clone(&self) -> UpdateDecl
fn clone(&self) -> UpdateDecl
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 UpdateDecl
impl Debug for UpdateDecl
Source§impl<'de> Deserialize<'de> for UpdateDecl
impl<'de> Deserialize<'de> for UpdateDecl
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 UpdateDecl
impl PartialEq for UpdateDecl
Source§impl Serialize for UpdateDecl
impl Serialize for UpdateDecl
impl StructuralPartialEq for UpdateDecl
Auto Trait Implementations§
impl Freeze for UpdateDecl
impl RefUnwindSafe for UpdateDecl
impl Send for UpdateDecl
impl Sync for UpdateDecl
impl Unpin for UpdateDecl
impl UnwindSafe for UpdateDecl
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