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 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: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl Eq 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 Debug for ObjCQualifiers
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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 Copy for ObjCQualifiers
[src]

impl From<CXObjCDeclQualifierKind> for ObjCQualifiers
[src]

fn from(flags: CXObjCDeclQualifierKind) -> ObjCQualifiers

Performs the conversion.

impl Into<CXObjCDeclQualifierKind> for ObjCQualifiers
[src]

fn into(self) -> CXObjCDeclQualifierKind

Performs the conversion.