Struct cpp_demangle::ast::FunctionParam
source · pub struct FunctionParam(/* private fields */);
Expand description
The
<function-param> ::= fp <top-level CV-qualifiers> _
# L == 0, first parameter
::= fp <top-level CV-qualifiers> <parameter-2 non-negative number> _
# L == 0, second and later parameters
::= fL <L-1 non-negative number> p <top-level CV-qualifiers> _
# L > 0, first parameter
::= fL <L-1 non-negative number> p <top-level CV-qualifiers> <parameter-2 non-negative number> _
# L > 0, second and later parameters
Trait Implementations§
source§impl Clone for FunctionParam
impl Clone for FunctionParam
source§fn clone(&self) -> FunctionParam
fn clone(&self) -> FunctionParam
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 FunctionParam
impl Debug for FunctionParam
source§impl PartialEq for FunctionParam
impl PartialEq for FunctionParam
source§fn eq(&self, other: &FunctionParam) -> bool
fn eq(&self, other: &FunctionParam) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FunctionParam
impl StructuralPartialEq for FunctionParam
Auto Trait Implementations§
impl Freeze for FunctionParam
impl RefUnwindSafe for FunctionParam
impl Send for FunctionParam
impl Sync for FunctionParam
impl Unpin for FunctionParam
impl UnwindSafe for FunctionParam
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)