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

Required Methods§

source

unsafe fn stringByAppendingString_(self, other: *mut Object) -> *mut Object

source

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

source

unsafe fn UTF8String(self) -> *const i8

source

unsafe fn len(self) -> usize

source

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

source

unsafe fn substringWithRange(self, range: NSRange) -> *mut Object

Provided Methods§

source

unsafe fn alloc(_: Self) -> *mut Object

Implementations on Foreign Types§

source§

impl NSString for *mut Object

source§

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

source§

unsafe fn stringByAppendingString_(self, other: *mut Object) -> *mut Object

source§

unsafe fn init_str(self, string: &str) -> *mut Object

source§

unsafe fn len(self) -> usize

source§

unsafe fn UTF8String(self) -> *const i8

source§

unsafe fn substringWithRange(self, range: NSRange) -> *mut Object

Implementors§