[][src]Trait uikit_sys::NSString_NSStringDeprecated

pub trait NSString_NSStringDeprecated: Sized + Deref {
    unsafe fn cString(self) -> *const c_char
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn lossyCString(self) -> *const c_char
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn cStringLength(self) -> NSUInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getCString_(self, bytes: *mut c_char)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getCString_maxLength_(
        self,
        bytes: *mut c_char,
        maxLength: NSUInteger
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getCString_maxLength_range_remainingRange_(
        self,
        bytes: *mut c_char,
        maxLength: NSUInteger,
        aRange: NSRange,
        leftoverRange: NSRangePointer
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn writeToFile_atomically_(
        self,
        path: NSString,
        useAuxiliaryFile: BOOL
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn writeToURL_atomically_(self, url: NSURL, atomically: BOOL) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithContentsOfFile_(self, path: NSString) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithContentsOfURL_(self, url: NSURL) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCStringNoCopy_length_freeWhenDone_(
        self,
        bytes: *mut c_char,
        length: NSUInteger,
        freeBuffer: BOOL
    ) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCString_length_(
        self,
        bytes: *const c_char,
        length: NSUInteger
    ) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCString_(self, bytes: *const c_char) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getCharacters_(self, buffer: *mut unichar)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringWithContentsOfFile_(path: NSString) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringWithContentsOfURL_(url: NSURL) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringWithCString_length_(
        bytes: *const c_char,
        length: NSUInteger
    ) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringWithCString_(bytes: *const c_char) -> id
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn cString(self) -> *const c_char where
    Self::Target: Message + Sized

unsafe fn lossyCString(self) -> *const c_char where
    Self::Target: Message + Sized

unsafe fn cStringLength(self) -> NSUInteger where
    Self::Target: Message + Sized

unsafe fn getCString_(self, bytes: *mut c_char) where
    Self::Target: Message + Sized

unsafe fn getCString_maxLength_(self, bytes: *mut c_char, maxLength: NSUInteger) where
    Self::Target: Message + Sized

unsafe fn getCString_maxLength_range_remainingRange_(
    self,
    bytes: *mut c_char,
    maxLength: NSUInteger,
    aRange: NSRange,
    leftoverRange: NSRangePointer
) where
    Self::Target: Message + Sized

unsafe fn writeToFile_atomically_(
    self,
    path: NSString,
    useAuxiliaryFile: BOOL
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn writeToURL_atomically_(self, url: NSURL, atomically: BOOL) -> BOOL where
    Self::Target: Message + Sized

unsafe fn initWithContentsOfFile_(self, path: NSString) -> id where
    Self::Target: Message + Sized

unsafe fn initWithContentsOfURL_(self, url: NSURL) -> id where
    Self::Target: Message + Sized

unsafe fn initWithCStringNoCopy_length_freeWhenDone_(
    self,
    bytes: *mut c_char,
    length: NSUInteger,
    freeBuffer: BOOL
) -> id where
    Self::Target: Message + Sized

unsafe fn initWithCString_length_(
    self,
    bytes: *const c_char,
    length: NSUInteger
) -> id where
    Self::Target: Message + Sized

unsafe fn initWithCString_(self, bytes: *const c_char) -> id where
    Self::Target: Message + Sized

unsafe fn getCharacters_(self, buffer: *mut unichar) where
    Self::Target: Message + Sized

unsafe fn stringWithContentsOfFile_(path: NSString) -> id where
    Self::Target: Message + Sized

unsafe fn stringWithContentsOfURL_(url: NSURL) -> id where
    Self::Target: Message + Sized

unsafe fn stringWithCString_length_(
    bytes: *const c_char,
    length: NSUInteger
) -> id where
    Self::Target: Message + Sized

unsafe fn stringWithCString_(bytes: *const c_char) -> id where
    Self::Target: Message + Sized

Loading content...

Implementors

impl NSString_NSStringDeprecated for NSConstantString[src]

impl NSString_NSStringDeprecated for NSMutableString[src]

impl NSString_NSStringDeprecated for NSSimpleCString[src]

impl NSString_NSStringDeprecated for NSString[src]

Loading content...