Struct cpp_common::Closure [−][src]
pub struct Closure {
pub sig: ClosureSig,
pub body: Spanned<String>,
pub callback_offset: u32,
}Fields
sig: ClosureSig
body: Spanned<String>
callback_offset: u32
Trait Implementations
impl Clone for Closure[src]
impl Clone for Closurefn clone(&self) -> Closure[src]
fn clone(&self) -> ClosureReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for Closure[src]
impl Debug for Closurefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Closure[src]
impl PartialEq for Closurefn eq(&self, other: &Closure) -> bool[src]
fn eq(&self, other: &Closure) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Closure) -> bool[src]
fn ne(&self, other: &Closure) -> boolThis method tests for !=.
impl Eq for Closure[src]
impl Eq for Closure