Struct cpp_common::ClosureSig
source · [−]pub struct ClosureSig {
pub captures: Vec<Capture>,
pub ret: Option<Type>,
pub cpp: String,
pub std_body: String,
}Fields
captures: Vec<Capture>ret: Option<Type>cpp: Stringstd_body: StringImplementations
sourceimpl ClosureSig
impl ClosureSig
Trait Implementations
sourceimpl Clone for ClosureSig
impl Clone for ClosureSig
sourcefn clone(&self) -> ClosureSig
fn clone(&self) -> ClosureSig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ClosureSig
impl Debug for ClosureSig
sourceimpl Hash for ClosureSig
impl Hash for ClosureSig
sourceimpl PartialEq<ClosureSig> for ClosureSig
impl PartialEq<ClosureSig> for ClosureSig
sourcefn eq(&self, other: &ClosureSig) -> bool
fn eq(&self, other: &ClosureSig) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ClosureSig) -> bool
fn ne(&self, other: &ClosureSig) -> bool
This method tests for !=.
impl Eq for ClosureSig
impl StructuralEq for ClosureSig
impl StructuralPartialEq for ClosureSig
Auto Trait Implementations
impl RefUnwindSafe for ClosureSig
impl !Send for ClosureSig
impl !Sync for ClosureSig
impl Unpin for ClosureSig
impl UnwindSafe for ClosureSig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more