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