Struct cpp_demangle::ast::CvQualifiers
source · pub struct CvQualifiers {
pub restrict: bool,
pub volatile: bool,
pub const_: bool,
}
Expand description
The <CV-qualifiers>
production.
<CV-qualifiers> ::= [r] [V] [K] # restrict (C99), volatile, const
Fields§
§restrict: bool
Is this restrict
qualified?
volatile: bool
Is this volatile
qualified?
const_: bool
Is this const
qualified?
Trait Implementations§
source§impl Clone for CvQualifiers
impl Clone for CvQualifiers
source§fn clone(&self) -> CvQualifiers
fn clone(&self) -> CvQualifiers
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 CvQualifiers
impl Debug for CvQualifiers
source§impl Default for CvQualifiers
impl Default for CvQualifiers
source§fn default() -> CvQualifiers
fn default() -> CvQualifiers
Returns the “default value” for a type. Read more
source§impl Hash for CvQualifiers
impl Hash for CvQualifiers
source§impl PartialEq for CvQualifiers
impl PartialEq for CvQualifiers
source§fn eq(&self, other: &CvQualifiers) -> bool
fn eq(&self, other: &CvQualifiers) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CvQualifiers
impl StructuralPartialEq for CvQualifiers
Auto Trait Implementations§
impl Freeze for CvQualifiers
impl RefUnwindSafe for CvQualifiers
impl Send for CvQualifiers
impl Sync for CvQualifiers
impl Unpin for CvQualifiers
impl UnwindSafe for CvQualifiers
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
)