Struct clang::ObjCQualifiers
[−]
[src]
pub struct ObjCQualifiers {
pub in_: bool,
pub inout: bool,
pub out: bool,
pub bycopy: bool,
pub byref: bool,
pub oneway: bool,
}Indicates which qualifiers were applied to an Objective-C method return or parameter type.
Fields
in_: bool
Indicates use of the in qualifier.
inout: bool
Indicates use of the inout qualifier.
out: bool
Indicates use of the out qualifier.
bycopy: bool
Indicates use of the bycopy qualifier.
byref: bool
Indicates use of the byref qualifier.
oneway: bool
Indicates use of the oneway qualifier.
Trait Implementations
impl Copy for ObjCQualifiers[src]
impl Clone for ObjCQualifiers[src]
fn clone(&self) -> ObjCQualifiers
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 ObjCQualifiers[src]
impl PartialEq for ObjCQualifiers[src]
fn eq(&self, __arg_0: &ObjCQualifiers) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ObjCQualifiers) -> bool
This method tests for !=.
impl Eq for ObjCQualifiers[src]
impl Hash for ObjCQualifiers[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl From<CXObjCDeclQualifierKind> for ObjCQualifiers[src]
fn from(flags: CXObjCDeclQualifierKind) -> ObjCQualifiers
Performs the conversion.