pub struct ObjCAttributes {
Show 13 fields pub readonly: bool, pub getter: bool, pub assign: bool, pub readwrite: bool, pub retain: bool, pub copy: bool, pub nonatomic: bool, pub setter: bool, pub atomic: bool, pub weak: bool, pub strong: bool, pub unsafe_retained: bool, pub class: bool,
}
Expand description

Indicates which attributes were applied to an Objective-C property.

Fields

readonly: bool

Indicates use of the readonly attribute.

getter: bool

Indicates use of the getter attribute.

assign: bool

Indicates use of the assign attribute.

readwrite: bool

Indicates use of the readwrite attribute.

retain: bool

Indicates use of the retain attribute.

copy: bool

Indicates use of the copy attribute.

nonatomic: bool

Indicates use of the nonatomic attribute.

setter: bool

Indicates use of the setter attribute.

atomic: bool

Indicates use of the atomic attribute.

weak: bool

Indicates use of the weak attribute.

strong: bool

Indicates use of the strong attribute.

unsafe_retained: bool

Indicates use of the unsafe_retained attribute.

class: bool

Indicates use of the class attribute.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Converts to this type from the input type.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.