pub struct NSString(/* private fields */);
Implementations§
Source§impl NSString
impl NSString
pub unsafe fn init_with_bytes_length_encoding( &self, bytes: *const u8, length: NSUInteger, encoding: NSStringEncoding, ) -> *mut Self
pub unsafe fn utf8_string(&self) -> *const c_char
Trait Implementations§
Source§impl Message for NSString
impl Message for NSString
Source§unsafe fn send_message<A, R>(
&self,
sel: Sel,
args: A,
) -> Result<R, MessageError>
unsafe fn send_message<A, R>( &self, sel: Sel, args: A, ) -> Result<R, MessageError>
Sends a message to self with the given selector and arguments. Read more
Source§fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
fn verify_message<A, R>(&self, sel: Sel) -> Result<(), MessageError>
Verifies that the argument and return types match the encoding of the
method for the given selector. Read more
Auto Trait Implementations§
impl Freeze for NSString
impl RefUnwindSafe for NSString
impl Send for NSString
impl Sync for NSString
impl Unpin for NSString
impl UnwindSafe for NSString
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more