Struct clang::ObjCQualifiers
source · [−]pub struct ObjCQualifiers {
pub in_: bool,
pub inout: bool,
pub out: bool,
pub bycopy: bool,
pub byref: bool,
pub oneway: bool,
}
Expand description
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
sourceimpl Clone for ObjCQualifiers
impl Clone for ObjCQualifiers
sourcefn clone(&self) -> ObjCQualifiers
fn clone(&self) -> ObjCQualifiers
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ObjCQualifiers
impl Debug for ObjCQualifiers
sourceimpl From<ObjCQualifiers> for CXObjCDeclQualifierKind
impl From<ObjCQualifiers> for CXObjCDeclQualifierKind
sourcefn from(options: ObjCQualifiers) -> CXObjCDeclQualifierKind
fn from(options: ObjCQualifiers) -> CXObjCDeclQualifierKind
Converts to this type from the input type.
sourceimpl From<i32> for ObjCQualifiers
impl From<i32> for ObjCQualifiers
sourcefn from(flags: CXObjCDeclQualifierKind) -> ObjCQualifiers
fn from(flags: CXObjCDeclQualifierKind) -> ObjCQualifiers
Converts to this type from the input type.
sourceimpl Hash for ObjCQualifiers
impl Hash for ObjCQualifiers
sourceimpl PartialEq<ObjCQualifiers> for ObjCQualifiers
impl PartialEq<ObjCQualifiers> for ObjCQualifiers
sourcefn eq(&self, other: &ObjCQualifiers) -> bool
fn eq(&self, other: &ObjCQualifiers) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ObjCQualifiers) -> bool
fn ne(&self, other: &ObjCQualifiers) -> bool
This method tests for !=
.
impl Copy for ObjCQualifiers
impl Eq for ObjCQualifiers
impl StructuralEq for ObjCQualifiers
impl StructuralPartialEq for ObjCQualifiers
Auto Trait Implementations
impl RefUnwindSafe for ObjCQualifiers
impl Send for ObjCQualifiers
impl Sync for ObjCQualifiers
impl Unpin for ObjCQualifiers
impl UnwindSafe for ObjCQualifiers
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more