pub enum ObjectiveCItem {
Interface,
Implementation,
Protocol,
Function,
Variable,
Import,
}Expand description
Objective-C 顶级项目
Variants§
Interface
接口定义 (@interface)
Implementation
实现定义 (@implementation)
Protocol
协议定义 (@protocol)
Function
函数定义
Variable
变量声明
Import
导入语句 (#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 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