Struct hemtt_preprocessor::FunctionDefinition
source · pub struct FunctionDefinition { /* private fields */ }
Expand description
A function definition
Examples
#define QUOTE(x) #x
#define FOO(a, b) QUOTE(a + b)
my_value = FOO(1, 2);
Implementations§
Trait Implementations§
source§impl Clone for FunctionDefinition
impl Clone for FunctionDefinition
source§fn clone(&self) -> FunctionDefinition
fn clone(&self) -> FunctionDefinition
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 FunctionDefinition
impl Debug for FunctionDefinition
source§impl PartialEq<FunctionDefinition> for FunctionDefinition
impl PartialEq<FunctionDefinition> for FunctionDefinition
source§fn eq(&self, other: &FunctionDefinition) -> bool
fn eq(&self, other: &FunctionDefinition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.