pub enum ObjectiveCItem {
Interface,
Implementation,
Protocol,
Function,
Variable,
Import,
}Expand description
Objective-C top-level item.
Variants§
Interface
Interface definition (@interface).
Implementation
Implementation definition (@implementation).
Protocol
Protocol definition (@protocol).
Function
Function definition.
Variable
Variable declaration.
Import
Import statement (#import/#include).
Trait Implementations§
Source§impl Clone for ObjectiveCItem
impl Clone for ObjectiveCItem
Source§fn clone(&self) -> ObjectiveCItem
fn clone(&self) -> ObjectiveCItem
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 ObjectiveCItem
impl Debug for ObjectiveCItem
Source§impl PartialEq for ObjectiveCItem
impl PartialEq for ObjectiveCItem
impl StructuralPartialEq for ObjectiveCItem
Auto Trait Implementations§
impl Freeze for ObjectiveCItem
impl RefUnwindSafe for ObjectiveCItem
impl Send for ObjectiveCItem
impl Sync for ObjectiveCItem
impl Unpin for ObjectiveCItem
impl UnsafeUnpin for ObjectiveCItem
impl UnwindSafe for ObjectiveCItem
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