[][src]Trait uikit_sys::NSString_NSStringExtensionMethods

pub trait NSString_NSStringExtensionMethods: Sized + Deref {
    unsafe fn substringFromIndex_(self, from: NSUInteger) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn substringToIndex_(self, to: NSUInteger) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn substringWithRange_(self, range: NSRange) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getCharacters_range_(self, buffer: *mut unichar, range: NSRange)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn compare_(self, string: NSString) -> NSComparisonResult
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn compare_options_(
        self,
        string: NSString,
        mask: NSStringCompareOptions
    ) -> NSComparisonResult
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn compare_options_range_(
        self,
        string: NSString,
        mask: NSStringCompareOptions,
        rangeOfReceiverToCompare: NSRange
    ) -> NSComparisonResult
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn compare_options_range_locale_(
        self,
        string: NSString,
        mask: NSStringCompareOptions,
        rangeOfReceiverToCompare: NSRange,
        locale: id
    ) -> NSComparisonResult
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn caseInsensitiveCompare_(
        self,
        string: NSString
    ) -> NSComparisonResult
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localizedCompare_(self, string: NSString) -> NSComparisonResult
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localizedCaseInsensitiveCompare_(
        self,
        string: NSString
    ) -> NSComparisonResult
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localizedStandardCompare_(
        self,
        string: NSString
    ) -> NSComparisonResult
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isEqualToString_(self, aString: NSString) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn hasPrefix_(self, str_: NSString) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn hasSuffix_(self, str_: NSString) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn commonPrefixWithString_options_(
        self,
        str_: NSString,
        mask: NSStringCompareOptions
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn containsString_(self, str_: NSString) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localizedCaseInsensitiveContainsString_(
        self,
        str_: NSString
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localizedStandardContainsString_(self, str_: NSString) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localizedStandardRangeOfString_(self, str_: NSString) -> NSRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn rangeOfString_(self, searchString: NSString) -> NSRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn rangeOfString_options_(
        self,
        searchString: NSString,
        mask: NSStringCompareOptions
    ) -> NSRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn rangeOfString_options_range_(
        self,
        searchString: NSString,
        mask: NSStringCompareOptions,
        rangeOfReceiverToSearch: NSRange
    ) -> NSRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn rangeOfString_options_range_locale_(
        self,
        searchString: NSString,
        mask: NSStringCompareOptions,
        rangeOfReceiverToSearch: NSRange,
        locale: NSLocale
    ) -> NSRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn rangeOfCharacterFromSet_(
        self,
        searchSet: NSCharacterSet
    ) -> NSRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn rangeOfCharacterFromSet_options_(
        self,
        searchSet: NSCharacterSet,
        mask: NSStringCompareOptions
    ) -> NSRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn rangeOfCharacterFromSet_options_range_(
        self,
        searchSet: NSCharacterSet,
        mask: NSStringCompareOptions,
        rangeOfReceiverToSearch: NSRange
    ) -> NSRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn rangeOfComposedCharacterSequenceAtIndex_(
        self,
        index: NSUInteger
    ) -> NSRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn rangeOfComposedCharacterSequencesForRange_(
        self,
        range: NSRange
    ) -> NSRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringByAppendingString_(self, aString: NSString) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringByAppendingFormat_(self, format: NSString) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn uppercaseStringWithLocale_(self, locale: NSLocale) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn lowercaseStringWithLocale_(self, locale: NSLocale) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn capitalizedStringWithLocale_(self, locale: NSLocale) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getLineStart_end_contentsEnd_forRange_(
        self,
        startPtr: *mut NSUInteger,
        lineEndPtr: *mut NSUInteger,
        contentsEndPtr: *mut NSUInteger,
        range: NSRange
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn lineRangeForRange_(self, range: NSRange) -> NSRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getParagraphStart_end_contentsEnd_forRange_(
        self,
        startPtr: *mut NSUInteger,
        parEndPtr: *mut NSUInteger,
        contentsEndPtr: *mut NSUInteger,
        range: NSRange
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn paragraphRangeForRange_(self, range: NSRange) -> NSRange
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn enumerateSubstringsInRange_options_usingBlock_(
        self,
        range: NSRange,
        opts: NSStringEnumerationOptions,
        block: _bindgen_ty_id_144220
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn enumerateLinesUsingBlock_(self, block: _bindgen_ty_id_144230)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dataUsingEncoding_allowLossyConversion_(
        self,
        encoding: NSStringEncoding,
        lossy: BOOL
    ) -> NSData
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn dataUsingEncoding_(self, encoding: NSStringEncoding) -> NSData
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn canBeConvertedToEncoding_(
        self,
        encoding: NSStringEncoding
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn cStringUsingEncoding_(
        self,
        encoding: NSStringEncoding
    ) -> *const c_char
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getCString_maxLength_encoding_(
        self,
        buffer: *mut c_char,
        maxBufferCount: NSUInteger,
        encoding: NSStringEncoding
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn getBytes_maxLength_usedLength_encoding_options_range_remainingRange_(
        self,
        buffer: *mut c_void,
        maxBufferCount: NSUInteger,
        usedBufferCount: *mut NSUInteger,
        encoding: NSStringEncoding,
        options: NSStringEncodingConversionOptions,
        range: NSRange,
        leftover: NSRangePointer
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn maximumLengthOfBytesUsingEncoding_(
        self,
        enc: NSStringEncoding
    ) -> NSUInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn lengthOfBytesUsingEncoding_(
        self,
        enc: NSStringEncoding
    ) -> NSUInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn componentsSeparatedByString_(self, separator: NSString) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn componentsSeparatedByCharactersInSet_(
        self,
        separator: NSCharacterSet
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringByTrimmingCharactersInSet_(
        self,
        set: NSCharacterSet
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringByPaddingToLength_withString_startingAtIndex_(
        self,
        newLength: NSUInteger,
        padString: NSString,
        padIndex: NSUInteger
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringByFoldingWithOptions_locale_(
        self,
        options: NSStringCompareOptions,
        locale: NSLocale
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringByReplacingOccurrencesOfString_withString_options_range_(
        self,
        target: NSString,
        replacement: NSString,
        options: NSStringCompareOptions,
        searchRange: NSRange
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringByReplacingOccurrencesOfString_withString_(
        self,
        target: NSString,
        replacement: NSString
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringByReplacingCharactersInRange_withString_(
        self,
        range: NSRange,
        replacement: NSString
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringByApplyingTransform_reverse_(
        self,
        transform: NSString,
        reverse: BOOL
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn writeToURL_atomically_encoding_error_(
        self,
        url: NSURL,
        useAuxiliaryFile: BOOL,
        enc: NSStringEncoding,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn writeToFile_atomically_encoding_error_(
        self,
        path: NSString,
        useAuxiliaryFile: BOOL,
        enc: NSStringEncoding,
        error: *mut NSError
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCharactersNoCopy_length_freeWhenDone_(
        self,
        characters: *mut unichar,
        length: NSUInteger,
        freeBuffer: BOOL
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCharacters_length_(
        self,
        characters: *const unichar,
        length: NSUInteger
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithUTF8String_(
        self,
        nullTerminatedCString: *const c_char
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithString_(self, aString: NSString) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithFormat_(self, format: NSString) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithFormat_arguments_(
        self,
        format: NSString,
        argList: *mut __va_list_tag
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithFormat_locale_(
        self,
        format: NSString,
        locale: id
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithFormat_locale_arguments_(
        self,
        format: NSString,
        locale: id,
        argList: *mut __va_list_tag
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithData_encoding_(
        self,
        data: NSData,
        encoding: NSStringEncoding
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithBytes_length_encoding_(
        self,
        bytes: *const c_void,
        len: NSUInteger,
        encoding: NSStringEncoding
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithBytesNoCopy_length_encoding_freeWhenDone_(
        self,
        bytes: *mut c_void,
        len: NSUInteger,
        encoding: NSStringEncoding,
        freeBuffer: BOOL
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithCString_encoding_(
        self,
        nullTerminatedCString: *const c_char,
        encoding: NSStringEncoding
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithContentsOfURL_encoding_error_(
        self,
        url: NSURL,
        enc: NSStringEncoding,
        error: *mut NSError
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithContentsOfFile_encoding_error_(
        self,
        path: NSString,
        enc: NSStringEncoding,
        error: *mut NSError
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithContentsOfURL_usedEncoding_error_(
        self,
        url: NSURL,
        enc: *mut NSStringEncoding,
        error: *mut NSError
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn initWithContentsOfFile_usedEncoding_error_(
        self,
        path: NSString,
        enc: *mut NSStringEncoding,
        error: *mut NSError
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn doubleValue(self) -> f64
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn floatValue(self) -> f32
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn intValue(self) -> c_int
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn integerValue(self) -> NSInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn longLongValue(self) -> c_longlong
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn boolValue(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn uppercaseString(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn lowercaseString(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn capitalizedString(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localizedUppercaseString(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localizedLowercaseString(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localizedCapitalizedString(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn UTF8String(self) -> *const c_char
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn fastestEncoding(self) -> NSStringEncoding
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn smallestEncoding(self) -> NSStringEncoding
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decomposedStringWithCanonicalMapping(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn precomposedStringWithCanonicalMapping(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn decomposedStringWithCompatibilityMapping(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn precomposedStringWithCompatibilityMapping(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn description(self) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn hash(self) -> NSUInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localizedNameOfStringEncoding_(
        encoding: NSStringEncoding
    ) -> NSString
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn string() -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringWithString_(string: NSString) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringWithCharacters_length_(
        characters: *const unichar,
        length: NSUInteger
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringWithUTF8String_(
        nullTerminatedCString: *const c_char
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringWithFormat_(format: NSString) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn localizedStringWithFormat_(format: NSString) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringWithCString_encoding_(
        cString: *const c_char,
        enc: NSStringEncoding
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringWithContentsOfURL_encoding_error_(
        url: NSURL,
        enc: NSStringEncoding,
        error: *mut NSError
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringWithContentsOfFile_encoding_error_(
        path: NSString,
        enc: NSStringEncoding,
        error: *mut NSError
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringWithContentsOfURL_usedEncoding_error_(
        url: NSURL,
        enc: *mut NSStringEncoding,
        error: *mut NSError
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn stringWithContentsOfFile_usedEncoding_error_(
        path: NSString,
        enc: *mut NSStringEncoding,
        error: *mut NSError
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn availableStringEncodings() -> *const NSStringEncoding
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn defaultCStringEncoding() -> NSStringEncoding
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn substringFromIndex_(self, from: NSUInteger) -> NSString where
    Self::Target: Message + Sized

unsafe fn substringToIndex_(self, to: NSUInteger) -> NSString where
    Self::Target: Message + Sized

unsafe fn substringWithRange_(self, range: NSRange) -> NSString where
    Self::Target: Message + Sized

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

unsafe fn compare_(self, string: NSString) -> NSComparisonResult where
    Self::Target: Message + Sized

unsafe fn compare_options_(
    self,
    string: NSString,
    mask: NSStringCompareOptions
) -> NSComparisonResult where
    Self::Target: Message + Sized

unsafe fn compare_options_range_(
    self,
    string: NSString,
    mask: NSStringCompareOptions,
    rangeOfReceiverToCompare: NSRange
) -> NSComparisonResult where
    Self::Target: Message + Sized

unsafe fn compare_options_range_locale_(
    self,
    string: NSString,
    mask: NSStringCompareOptions,
    rangeOfReceiverToCompare: NSRange,
    locale: id
) -> NSComparisonResult where
    Self::Target: Message + Sized

unsafe fn caseInsensitiveCompare_(self, string: NSString) -> NSComparisonResult where
    Self::Target: Message + Sized

unsafe fn localizedCompare_(self, string: NSString) -> NSComparisonResult where
    Self::Target: Message + Sized

unsafe fn localizedCaseInsensitiveCompare_(
    self,
    string: NSString
) -> NSComparisonResult where
    Self::Target: Message + Sized

unsafe fn localizedStandardCompare_(
    self,
    string: NSString
) -> NSComparisonResult where
    Self::Target: Message + Sized

unsafe fn isEqualToString_(self, aString: NSString) -> BOOL where
    Self::Target: Message + Sized

unsafe fn hasPrefix_(self, str_: NSString) -> BOOL where
    Self::Target: Message + Sized

unsafe fn hasSuffix_(self, str_: NSString) -> BOOL where
    Self::Target: Message + Sized

unsafe fn commonPrefixWithString_options_(
    self,
    str_: NSString,
    mask: NSStringCompareOptions
) -> NSString where
    Self::Target: Message + Sized

unsafe fn containsString_(self, str_: NSString) -> BOOL where
    Self::Target: Message + Sized

unsafe fn localizedCaseInsensitiveContainsString_(self, str_: NSString) -> BOOL where
    Self::Target: Message + Sized

unsafe fn localizedStandardContainsString_(self, str_: NSString) -> BOOL where
    Self::Target: Message + Sized

unsafe fn localizedStandardRangeOfString_(self, str_: NSString) -> NSRange where
    Self::Target: Message + Sized

unsafe fn rangeOfString_(self, searchString: NSString) -> NSRange where
    Self::Target: Message + Sized

unsafe fn rangeOfString_options_(
    self,
    searchString: NSString,
    mask: NSStringCompareOptions
) -> NSRange where
    Self::Target: Message + Sized

unsafe fn rangeOfString_options_range_(
    self,
    searchString: NSString,
    mask: NSStringCompareOptions,
    rangeOfReceiverToSearch: NSRange
) -> NSRange where
    Self::Target: Message + Sized

unsafe fn rangeOfString_options_range_locale_(
    self,
    searchString: NSString,
    mask: NSStringCompareOptions,
    rangeOfReceiverToSearch: NSRange,
    locale: NSLocale
) -> NSRange where
    Self::Target: Message + Sized

unsafe fn rangeOfCharacterFromSet_(self, searchSet: NSCharacterSet) -> NSRange where
    Self::Target: Message + Sized

unsafe fn rangeOfCharacterFromSet_options_(
    self,
    searchSet: NSCharacterSet,
    mask: NSStringCompareOptions
) -> NSRange where
    Self::Target: Message + Sized

unsafe fn rangeOfCharacterFromSet_options_range_(
    self,
    searchSet: NSCharacterSet,
    mask: NSStringCompareOptions,
    rangeOfReceiverToSearch: NSRange
) -> NSRange where
    Self::Target: Message + Sized

unsafe fn rangeOfComposedCharacterSequenceAtIndex_(
    self,
    index: NSUInteger
) -> NSRange where
    Self::Target: Message + Sized

unsafe fn rangeOfComposedCharacterSequencesForRange_(
    self,
    range: NSRange
) -> NSRange where
    Self::Target: Message + Sized

unsafe fn stringByAppendingString_(self, aString: NSString) -> NSString where
    Self::Target: Message + Sized

unsafe fn stringByAppendingFormat_(self, format: NSString) -> NSString where
    Self::Target: Message + Sized

unsafe fn uppercaseStringWithLocale_(self, locale: NSLocale) -> NSString where
    Self::Target: Message + Sized

unsafe fn lowercaseStringWithLocale_(self, locale: NSLocale) -> NSString where
    Self::Target: Message + Sized

unsafe fn capitalizedStringWithLocale_(self, locale: NSLocale) -> NSString where
    Self::Target: Message + Sized

unsafe fn getLineStart_end_contentsEnd_forRange_(
    self,
    startPtr: *mut NSUInteger,
    lineEndPtr: *mut NSUInteger,
    contentsEndPtr: *mut NSUInteger,
    range: NSRange
) where
    Self::Target: Message + Sized

unsafe fn lineRangeForRange_(self, range: NSRange) -> NSRange where
    Self::Target: Message + Sized

unsafe fn getParagraphStart_end_contentsEnd_forRange_(
    self,
    startPtr: *mut NSUInteger,
    parEndPtr: *mut NSUInteger,
    contentsEndPtr: *mut NSUInteger,
    range: NSRange
) where
    Self::Target: Message + Sized

unsafe fn paragraphRangeForRange_(self, range: NSRange) -> NSRange where
    Self::Target: Message + Sized

unsafe fn enumerateSubstringsInRange_options_usingBlock_(
    self,
    range: NSRange,
    opts: NSStringEnumerationOptions,
    block: _bindgen_ty_id_144220
) where
    Self::Target: Message + Sized

unsafe fn enumerateLinesUsingBlock_(self, block: _bindgen_ty_id_144230) where
    Self::Target: Message + Sized

unsafe fn dataUsingEncoding_allowLossyConversion_(
    self,
    encoding: NSStringEncoding,
    lossy: BOOL
) -> NSData where
    Self::Target: Message + Sized

unsafe fn dataUsingEncoding_(self, encoding: NSStringEncoding) -> NSData where
    Self::Target: Message + Sized

unsafe fn canBeConvertedToEncoding_(self, encoding: NSStringEncoding) -> BOOL where
    Self::Target: Message + Sized

unsafe fn cStringUsingEncoding_(
    self,
    encoding: NSStringEncoding
) -> *const c_char where
    Self::Target: Message + Sized

unsafe fn getCString_maxLength_encoding_(
    self,
    buffer: *mut c_char,
    maxBufferCount: NSUInteger,
    encoding: NSStringEncoding
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn getBytes_maxLength_usedLength_encoding_options_range_remainingRange_(
    self,
    buffer: *mut c_void,
    maxBufferCount: NSUInteger,
    usedBufferCount: *mut NSUInteger,
    encoding: NSStringEncoding,
    options: NSStringEncodingConversionOptions,
    range: NSRange,
    leftover: NSRangePointer
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn maximumLengthOfBytesUsingEncoding_(
    self,
    enc: NSStringEncoding
) -> NSUInteger where
    Self::Target: Message + Sized

unsafe fn lengthOfBytesUsingEncoding_(self, enc: NSStringEncoding) -> NSUInteger where
    Self::Target: Message + Sized

unsafe fn componentsSeparatedByString_(self, separator: NSString) -> NSArray where
    Self::Target: Message + Sized

unsafe fn componentsSeparatedByCharactersInSet_(
    self,
    separator: NSCharacterSet
) -> NSArray where
    Self::Target: Message + Sized

unsafe fn stringByTrimmingCharactersInSet_(
    self,
    set: NSCharacterSet
) -> NSString where
    Self::Target: Message + Sized

unsafe fn stringByPaddingToLength_withString_startingAtIndex_(
    self,
    newLength: NSUInteger,
    padString: NSString,
    padIndex: NSUInteger
) -> NSString where
    Self::Target: Message + Sized

unsafe fn stringByFoldingWithOptions_locale_(
    self,
    options: NSStringCompareOptions,
    locale: NSLocale
) -> NSString where
    Self::Target: Message + Sized

unsafe fn stringByReplacingOccurrencesOfString_withString_options_range_(
    self,
    target: NSString,
    replacement: NSString,
    options: NSStringCompareOptions,
    searchRange: NSRange
) -> NSString where
    Self::Target: Message + Sized

unsafe fn stringByReplacingOccurrencesOfString_withString_(
    self,
    target: NSString,
    replacement: NSString
) -> NSString where
    Self::Target: Message + Sized

unsafe fn stringByReplacingCharactersInRange_withString_(
    self,
    range: NSRange,
    replacement: NSString
) -> NSString where
    Self::Target: Message + Sized

unsafe fn stringByApplyingTransform_reverse_(
    self,
    transform: NSString,
    reverse: BOOL
) -> NSString where
    Self::Target: Message + Sized

unsafe fn writeToURL_atomically_encoding_error_(
    self,
    url: NSURL,
    useAuxiliaryFile: BOOL,
    enc: NSStringEncoding,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn writeToFile_atomically_encoding_error_(
    self,
    path: NSString,
    useAuxiliaryFile: BOOL,
    enc: NSStringEncoding,
    error: *mut NSError
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn initWithCharactersNoCopy_length_freeWhenDone_(
    self,
    characters: *mut unichar,
    length: NSUInteger,
    freeBuffer: BOOL
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithCharacters_length_(
    self,
    characters: *const unichar,
    length: NSUInteger
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithUTF8String_(
    self,
    nullTerminatedCString: *const c_char
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithString_(self, aString: NSString) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithFormat_(self, format: NSString) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithFormat_arguments_(
    self,
    format: NSString,
    argList: *mut __va_list_tag
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithFormat_locale_(
    self,
    format: NSString,
    locale: id
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithFormat_locale_arguments_(
    self,
    format: NSString,
    locale: id,
    argList: *mut __va_list_tag
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithData_encoding_(
    self,
    data: NSData,
    encoding: NSStringEncoding
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithBytes_length_encoding_(
    self,
    bytes: *const c_void,
    len: NSUInteger,
    encoding: NSStringEncoding
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithBytesNoCopy_length_encoding_freeWhenDone_(
    self,
    bytes: *mut c_void,
    len: NSUInteger,
    encoding: NSStringEncoding,
    freeBuffer: BOOL
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithCString_encoding_(
    self,
    nullTerminatedCString: *const c_char,
    encoding: NSStringEncoding
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithContentsOfURL_encoding_error_(
    self,
    url: NSURL,
    enc: NSStringEncoding,
    error: *mut NSError
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithContentsOfFile_encoding_error_(
    self,
    path: NSString,
    enc: NSStringEncoding,
    error: *mut NSError
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithContentsOfURL_usedEncoding_error_(
    self,
    url: NSURL,
    enc: *mut NSStringEncoding,
    error: *mut NSError
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn initWithContentsOfFile_usedEncoding_error_(
    self,
    path: NSString,
    enc: *mut NSStringEncoding,
    error: *mut NSError
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn doubleValue(self) -> f64 where
    Self::Target: Message + Sized

unsafe fn floatValue(self) -> f32 where
    Self::Target: Message + Sized

unsafe fn intValue(self) -> c_int where
    Self::Target: Message + Sized

unsafe fn integerValue(self) -> NSInteger where
    Self::Target: Message + Sized

unsafe fn longLongValue(self) -> c_longlong where
    Self::Target: Message + Sized

unsafe fn boolValue(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn uppercaseString(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn lowercaseString(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn capitalizedString(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn localizedUppercaseString(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn localizedLowercaseString(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn localizedCapitalizedString(self) -> NSString where
    Self::Target: Message + Sized

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

unsafe fn fastestEncoding(self) -> NSStringEncoding where
    Self::Target: Message + Sized

unsafe fn smallestEncoding(self) -> NSStringEncoding where
    Self::Target: Message + Sized

unsafe fn decomposedStringWithCanonicalMapping(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn precomposedStringWithCanonicalMapping(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn decomposedStringWithCompatibilityMapping(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn precomposedStringWithCompatibilityMapping(self) -> NSString where
    Self::Target: Message + Sized

unsafe fn description(self) -> NSString where
    Self::Target: Message + Sized

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

unsafe fn localizedNameOfStringEncoding_(encoding: NSStringEncoding) -> NSString where
    Self::Target: Message + Sized

unsafe fn string() -> instancetype where
    Self::Target: Message + Sized

unsafe fn stringWithString_(string: NSString) -> instancetype where
    Self::Target: Message + Sized

unsafe fn stringWithCharacters_length_(
    characters: *const unichar,
    length: NSUInteger
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn stringWithUTF8String_(
    nullTerminatedCString: *const c_char
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn stringWithFormat_(format: NSString) -> instancetype where
    Self::Target: Message + Sized

unsafe fn localizedStringWithFormat_(format: NSString) -> instancetype where
    Self::Target: Message + Sized

unsafe fn stringWithCString_encoding_(
    cString: *const c_char,
    enc: NSStringEncoding
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn stringWithContentsOfURL_encoding_error_(
    url: NSURL,
    enc: NSStringEncoding,
    error: *mut NSError
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn stringWithContentsOfFile_encoding_error_(
    path: NSString,
    enc: NSStringEncoding,
    error: *mut NSError
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn stringWithContentsOfURL_usedEncoding_error_(
    url: NSURL,
    enc: *mut NSStringEncoding,
    error: *mut NSError
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn stringWithContentsOfFile_usedEncoding_error_(
    path: NSString,
    enc: *mut NSStringEncoding,
    error: *mut NSError
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn availableStringEncodings() -> *const NSStringEncoding where
    Self::Target: Message + Sized

unsafe fn defaultCStringEncoding() -> NSStringEncoding where
    Self::Target: Message + Sized

Loading content...

Implementors

impl NSString_NSStringExtensionMethods for NSConstantString[src]

impl NSString_NSStringExtensionMethods for NSMutableString[src]

impl NSString_NSStringExtensionMethods for NSSimpleCString[src]

impl NSString_NSStringExtensionMethods for NSString[src]

Loading content...