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 Closure
fn clone(&self) -> Closure
[src]
fn clone(&self) -> Closure
Returns 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 Closure
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Closure
[src]
impl PartialEq for Closure
fn eq(&self, other: &Closure) -> bool
[src]
fn eq(&self, other: &Closure) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for Closure
[src]
impl Eq for Closure