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§
Source§impl Clone for ObjCQualifiers
impl Clone for ObjCQualifiers
Source§fn clone(&self) -> ObjCQualifiers
fn clone(&self) -> ObjCQualifiers
Returns a duplicate 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 ObjCQualifiers
impl Debug for ObjCQualifiers
Source§impl From<ObjCQualifiers> for CXObjCDeclQualifierKind
impl From<ObjCQualifiers> for CXObjCDeclQualifierKind
Source§fn from(options: ObjCQualifiers) -> CXObjCDeclQualifierKind
fn from(options: ObjCQualifiers) -> CXObjCDeclQualifierKind
Converts to this type from the input type.
Source§impl From<i32> for ObjCQualifiers
impl From<i32> for ObjCQualifiers
Source§fn from(flags: CXObjCDeclQualifierKind) -> ObjCQualifiers
fn from(flags: CXObjCDeclQualifierKind) -> ObjCQualifiers
Converts to this type from the input type.
Source§impl Hash for ObjCQualifiers
impl Hash for ObjCQualifiers
Source§impl PartialEq for ObjCQualifiers
impl PartialEq for ObjCQualifiers
impl Copy for ObjCQualifiers
impl Eq for ObjCQualifiers
impl StructuralPartialEq for ObjCQualifiers
Auto Trait Implementations§
impl Freeze for ObjCQualifiers
impl RefUnwindSafe for ObjCQualifiers
impl Send for ObjCQualifiers
impl Sync for ObjCQualifiers
impl Unpin for ObjCQualifiers
impl UnwindSafe for ObjCQualifiers
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