Struct symboscript_types::parser::FunctionDeclarator
source · pub struct FunctionDeclarator {
pub node: Node,
pub id: Token,
pub params: Vec<Token>,
pub body: Vec<Statement>,
}Fields§
§node: Node§id: Token§params: Vec<Token>§body: Vec<Statement>Trait Implementations§
source§impl Clone for FunctionDeclarator
impl Clone for FunctionDeclarator
source§fn clone(&self) -> FunctionDeclarator
fn clone(&self) -> FunctionDeclarator
Returns a copy 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 FunctionDeclarator
impl Debug for FunctionDeclarator
source§impl<'de> Deserialize<'de> for FunctionDeclarator
impl<'de> Deserialize<'de> for FunctionDeclarator
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 Display for FunctionDeclarator
impl Display for FunctionDeclarator
Auto Trait Implementations§
impl RefUnwindSafe for FunctionDeclarator
impl Send for FunctionDeclarator
impl Sync for FunctionDeclarator
impl Unpin for FunctionDeclarator
impl UnwindSafe for FunctionDeclarator
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