Trait cocoa::foundation::NSString
source · pub trait NSString: Sized {
// Required methods
unsafe fn stringByAppendingString_(self, other: *mut Object) -> *mut Object;
unsafe fn init_str(self, string: &str) -> Self;
unsafe fn UTF8String(self) -> *const i8;
unsafe fn len(self) -> usize;
unsafe fn isEqualToString(self, string: &str) -> bool;
unsafe fn substringWithRange(self, range: NSRange) -> *mut Object;
// Provided method
unsafe fn alloc(_: Self) -> *mut Object { ... }
}