Struct cpp_demangle::ast::CvQualifiers
[−]
[src]
pub struct CvQualifiers {
pub restrict: bool,
pub volatile: bool,
pub const_: bool,
}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
impl Clone for CvQualifiers[src]
fn clone(&self) -> CvQualifiers
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for CvQualifiers[src]
impl Default for CvQualifiers[src]
fn default() -> CvQualifiers
Returns the "default value" for a type. Read more
impl Hash for CvQualifiers[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for CvQualifiers[src]
fn eq(&self, __arg_0: &CvQualifiers) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &CvQualifiers) -> bool
This method tests for !=.