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 { ... }
}

Required Methods§

source

unsafe fn stringByAppendingString_(self, other: id) -> id

source

unsafe fn init_str(self, string: &str) -> Self

source

unsafe fn UTF8String(self) -> *const c_char

source

unsafe fn len(self) -> usize

source

unsafe fn isEqualToString(self, string: &str) -> bool

source

unsafe fn substringWithRange(self, range: NSRange) -> id

Provided Methods§

source

unsafe fn alloc(_: Self) -> id

Implementors§