#[repr(C)]pub struct NSMutableAttributedString { /* private fields */ }icrate::Foundation has been moved to objc2-foundationFoundation and Foundation_NSMutableAttributedString only.Implementations§
Source§impl NSMutableAttributedString
NSAttributedStringAttributeFixing
impl NSMutableAttributedString
NSAttributedStringAttributeFixing
pub unsafe fn fixAttributesInRange(&mut self, range: NSRange)
icrate::AppKit has been moved to objc2-app-kitAppKit only.pub unsafe fn fixFontAttributeInRange(&mut self, range: NSRange)
icrate::AppKit has been moved to objc2-app-kitAppKit only.pub unsafe fn fixParagraphStyleAttributeInRange(&mut self, range: NSRange)
icrate::AppKit has been moved to objc2-app-kitAppKit only.pub unsafe fn fixAttachmentAttributeInRange(&mut self, range: NSRange)
icrate::AppKit has been moved to objc2-app-kitAppKit only.Source§impl NSMutableAttributedString
NSMutableAttributedStringDocumentFormats
impl NSMutableAttributedString
NSMutableAttributedStringDocumentFormats
pub unsafe fn readFromURL_options_documentAttributes_error( &mut self, url: &NSURL, opts: &NSDictionary<NSAttributedStringDocumentReadingOptionKey, AnyObject>, dict: Option<&mut Option<Id<NSDictionary<NSAttributedStringDocumentAttributeKey, AnyObject>>>>, ) -> Result<(), Id<NSError>>
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSDictionary and Foundation_NSError and Foundation_NSURL only.pub unsafe fn readFromData_options_documentAttributes_error( &mut self, data: &NSData, opts: &NSDictionary<NSAttributedStringDocumentReadingOptionKey, AnyObject>, dict: Option<&mut Option<Id<NSDictionary<NSAttributedStringDocumentAttributeKey, AnyObject>>>>, ) -> Result<(), Id<NSError>>
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSData and Foundation_NSDictionary and Foundation_NSError only.Source§impl NSMutableAttributedString
NSMutableAttributedStringKitAdditions
impl NSMutableAttributedString
NSMutableAttributedStringKitAdditions
pub unsafe fn superscriptRange(&mut self, range: NSRange)
icrate::AppKit has been moved to objc2-app-kitAppKit only.pub unsafe fn subscriptRange(&mut self, range: NSRange)
icrate::AppKit has been moved to objc2-app-kitAppKit only.pub unsafe fn unscriptRange(&mut self, range: NSRange)
icrate::AppKit has been moved to objc2-app-kitAppKit only.pub unsafe fn applyFontTraits_range( &mut self, trait_mask: NSFontTraitMask, range: NSRange, )
icrate::AppKit has been moved to objc2-app-kitAppKit only.pub unsafe fn setAlignment_range( &mut self, alignment: NSTextAlignment, range: NSRange, )
icrate::AppKit has been moved to objc2-app-kitAppKit only.pub unsafe fn setBaseWritingDirection_range( &mut self, writing_direction: NSWritingDirection, range: NSRange, )
icrate::AppKit has been moved to objc2-app-kitAppKit only.Source§impl NSMutableAttributedString
NSDeprecatedKitAdditions
impl NSMutableAttributedString
NSDeprecatedKitAdditions
pub unsafe fn readFromURL_options_documentAttributes( &mut self, url: &NSURL, options: &NSDictionary, dict: Option<&mut Option<Id<NSDictionary>>>, ) -> bool
AppKit and Foundation_NSDictionary and Foundation_NSURL only.pub unsafe fn readFromData_options_documentAttributes( &mut self, data: &NSData, options: &NSDictionary, dict: Option<&mut Option<Id<NSDictionary>>>, ) -> bool
AppKit and Foundation_NSData and Foundation_NSDictionary only.Source§impl NSMutableAttributedString
NSMutableAttributedStringAttachmentConveniences
impl NSMutableAttributedString
NSMutableAttributedStringAttachmentConveniences
pub unsafe fn updateAttachmentsFromPath(&mut self, path: &NSString)
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSString only.Source§impl NSMutableAttributedString
impl NSMutableAttributedString
pub fn from_nsstring(string: &NSString) -> Id<Self>
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString and Foundation_NSString only.pub fn from_attributed_nsstring( attributed_string: &NSAttributedString, ) -> Id<Self>
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString only.Source§impl NSMutableAttributedString
Methods declared on superclass NSAttributedString
impl NSMutableAttributedString
Methods declared on superclass NSAttributedString
NSExtendedAttributedString
pub fn initWithString(this: Allocated<Self>, str: &NSString) -> Id<Self>
icrate::Foundation has been moved to objc2-foundationFoundation_NSString only.pub unsafe fn initWithString_attributes( this: Allocated<Self>, str: &NSString, attrs: Option<&NSDictionary<NSAttributedStringKey, AnyObject>>, ) -> Id<Self>
icrate::Foundation has been moved to objc2-foundationFoundation_NSDictionary and Foundation_NSString only.pub fn initWithAttributedString( this: Allocated<Self>, attr_str: &NSAttributedString, ) -> Id<Self>
icrate::Foundation has been moved to objc2-foundationSource§impl NSMutableAttributedString
impl NSMutableAttributedString
pub unsafe fn replaceCharactersInRange_withString( &mut self, range: NSRange, str: &NSString, )
icrate::Foundation has been moved to objc2-foundationFoundation_NSString only.pub unsafe fn setAttributes_range( &mut self, attrs: Option<&NSDictionary<NSAttributedStringKey, AnyObject>>, range: NSRange, )
icrate::Foundation has been moved to objc2-foundationFoundation_NSDictionary only.Source§impl NSMutableAttributedString
Methods declared on superclass NSObject
impl NSMutableAttributedString
Methods declared on superclass NSObject
Source§impl NSMutableAttributedString
NSExtendedMutableAttributedString
impl NSMutableAttributedString
NSExtendedMutableAttributedString
pub unsafe fn mutableString(&self) -> Id<NSMutableString>
icrate::Foundation has been moved to objc2-foundationFoundation_NSMutableString only.pub unsafe fn addAttribute_value_range( &mut self, name: &NSAttributedStringKey, value: &AnyObject, range: NSRange, )
icrate::Foundation has been moved to objc2-foundationpub unsafe fn addAttributes_range( &mut self, attrs: &NSDictionary<NSAttributedStringKey, AnyObject>, range: NSRange, )
icrate::Foundation has been moved to objc2-foundationFoundation_NSDictionary only.pub unsafe fn removeAttribute_range( &mut self, name: &NSAttributedStringKey, range: NSRange, )
icrate::Foundation has been moved to objc2-foundationpub unsafe fn replaceCharactersInRange_withAttributedString( &mut self, range: NSRange, attr_string: &NSAttributedString, )
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString only.pub unsafe fn insertAttributedString_atIndex( &mut self, attr_string: &NSAttributedString, loc: NSUInteger, )
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString only.pub unsafe fn appendAttributedString( &mut self, attr_string: &NSAttributedString, )
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString only.pub unsafe fn deleteCharactersInRange(&mut self, range: NSRange)
icrate::Foundation has been moved to objc2-foundationpub fn setAttributedString(&mut self, attr_string: &NSAttributedString)
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString only.pub unsafe fn beginEditing(&mut self)
icrate::Foundation has been moved to objc2-foundationpub unsafe fn endEditing(&mut self)
icrate::Foundation has been moved to objc2-foundationSource§impl NSMutableAttributedString
Methods declared on superclass NSAttributedString
impl NSMutableAttributedString
Methods declared on superclass NSAttributedString
NSAttributedStringCreateFromMarkdown
pub unsafe fn initWithContentsOfMarkdownFileAtURL_options_baseURL_error( this: Allocated<Self>, markdown_file: &NSURL, options: Option<&NSAttributedStringMarkdownParsingOptions>, base_url: Option<&NSURL>, ) -> Result<Id<Self>, Id<NSError>>
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedStringMarkdownParsingOptions and Foundation_NSError and Foundation_NSURL only.pub unsafe fn initWithMarkdown_options_baseURL_error( this: Allocated<Self>, markdown: &NSData, options: Option<&NSAttributedStringMarkdownParsingOptions>, base_url: Option<&NSURL>, ) -> Result<Id<Self>, Id<NSError>>
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedStringMarkdownParsingOptions and Foundation_NSData and Foundation_NSError and Foundation_NSURL only.pub unsafe fn initWithMarkdownString_options_baseURL_error( this: Allocated<Self>, markdown_string: &NSString, options: Option<&NSAttributedStringMarkdownParsingOptions>, base_url: Option<&NSURL>, ) -> Result<Id<Self>, Id<NSError>>
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedStringMarkdownParsingOptions and Foundation_NSError and Foundation_NSString and Foundation_NSURL only.impl NSMutableAttributedString
NSMutableAttributedStringFormatting
Methods from Deref<Target = NSAttributedString>§
pub unsafe fn dataFromRange_documentAttributes_error( &self, range: NSRange, dict: &NSDictionary<NSAttributedStringDocumentAttributeKey, AnyObject>, ) -> Result<Id<NSData>, Id<NSError>>
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString and Foundation_NSData and Foundation_NSDictionary and Foundation_NSError only.pub unsafe fn fileWrapperFromRange_documentAttributes_error( &self, range: NSRange, dict: &NSDictionary<NSAttributedStringDocumentAttributeKey, AnyObject>, ) -> Result<Id<NSFileWrapper>, Id<NSError>>
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString and Foundation_NSDictionary and Foundation_NSError and Foundation_NSFileWrapper only.pub unsafe fn RTFFromRange_documentAttributes( &self, range: NSRange, dict: &NSDictionary<NSAttributedStringDocumentAttributeKey, AnyObject>, ) -> Option<Id<NSData>>
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString and Foundation_NSData and Foundation_NSDictionary only.pub unsafe fn RTFDFromRange_documentAttributes( &self, range: NSRange, dict: &NSDictionary<NSAttributedStringDocumentAttributeKey, AnyObject>, ) -> Option<Id<NSData>>
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString and Foundation_NSData and Foundation_NSDictionary only.pub unsafe fn RTFDFileWrapperFromRange_documentAttributes( &self, range: NSRange, dict: &NSDictionary<NSAttributedStringDocumentAttributeKey, AnyObject>, ) -> Option<Id<NSFileWrapper>>
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString and Foundation_NSDictionary and Foundation_NSFileWrapper only.pub unsafe fn docFormatFromRange_documentAttributes( &self, range: NSRange, dict: &NSDictionary<NSAttributedStringDocumentAttributeKey, AnyObject>, ) -> Option<Id<NSData>>
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString and Foundation_NSData and Foundation_NSDictionary only.pub unsafe fn fontAttributesInRange( &self, range: NSRange, ) -> Id<NSDictionary<NSAttributedStringKey, AnyObject>>
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString and Foundation_NSDictionary only.pub unsafe fn rulerAttributesInRange( &self, range: NSRange, ) -> Id<NSDictionary<NSAttributedStringKey, AnyObject>>
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString and Foundation_NSDictionary only.pub unsafe fn containsAttachmentsInRange(&self, range: NSRange) -> bool
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString only.pub unsafe fn lineBreakBeforeIndex_withinRange( &self, location: NSUInteger, a_range: NSRange, ) -> NSUInteger
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString only.pub unsafe fn lineBreakByHyphenatingBeforeIndex_withinRange( &self, location: NSUInteger, a_range: NSRange, ) -> NSUInteger
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString only.pub unsafe fn doubleClickAtIndex(&self, location: NSUInteger) -> NSRange
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString only.pub unsafe fn nextWordFromIndex_forward( &self, location: NSUInteger, is_forward: bool, ) -> NSUInteger
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString only.pub unsafe fn rangeOfTextBlock_atIndex( &self, block: &NSTextBlock, location: NSUInteger, ) -> NSRange
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString and AppKit_NSTextBlock only.pub unsafe fn rangeOfTextTable_atIndex( &self, table: &NSTextTable, location: NSUInteger, ) -> NSRange
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString and AppKit_NSTextTable only.pub unsafe fn rangeOfTextList_atIndex( &self, list: &NSTextList, location: NSUInteger, ) -> NSRange
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString and AppKit_NSTextList only.pub unsafe fn itemNumberInTextList_atIndex( &self, list: &NSTextList, location: NSUInteger, ) -> NSInteger
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString and AppKit_NSTextList only.pub unsafe fn containsAttachments(&self) -> bool
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString only.pub unsafe fn URLAtIndex_effectiveRange( &self, location: NSUInteger, effective_range: NSRangePointer, ) -> Option<Id<NSURL>>
AppKit and Foundation_NSAttributedString and Foundation_NSURL only.pub unsafe fn size(&self) -> NSSize
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString only.pub unsafe fn drawAtPoint(&self, point: NSPoint)
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString only.pub unsafe fn drawInRect(&self, rect: NSRect)
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString only.pub unsafe fn drawWithRect_options_context( &self, rect: NSRect, options: NSStringDrawingOptions, context: Option<&NSStringDrawingContext>, )
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString and AppKit_NSStringDrawingContext only.pub unsafe fn boundingRectWithSize_options_context( &self, size: NSSize, options: NSStringDrawingOptions, context: Option<&NSStringDrawingContext>, ) -> NSRect
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString and AppKit_NSStringDrawingContext only.pub unsafe fn drawWithRect_options( &self, rect: NSRect, options: NSStringDrawingOptions, )
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString only.pub unsafe fn boundingRectWithSize_options( &self, size: NSSize, options: NSStringDrawingOptions, ) -> NSRect
icrate::AppKit has been moved to objc2-app-kitAppKit and Foundation_NSAttributedString only.pub fn string(&self) -> Id<NSString>
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString and Foundation_NSString only.pub unsafe fn attributesAtIndex_effectiveRange( &self, location: NSUInteger, range: NSRangePointer, ) -> Id<NSDictionary<NSAttributedStringKey, AnyObject>>
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString and Foundation_NSDictionary only.pub fn length(&self) -> NSUInteger
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString only.pub unsafe fn attribute_atIndex_effectiveRange( &self, attr_name: &NSAttributedStringKey, location: NSUInteger, range: NSRangePointer, ) -> Option<Id<AnyObject>>
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString only.pub unsafe fn attributedSubstringFromRange( &self, range: NSRange, ) -> Id<NSAttributedString>
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString only.pub unsafe fn attributesAtIndex_longestEffectiveRange_inRange( &self, location: NSUInteger, range: NSRangePointer, range_limit: NSRange, ) -> Id<NSDictionary<NSAttributedStringKey, AnyObject>>
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString and Foundation_NSDictionary only.pub unsafe fn attribute_atIndex_longestEffectiveRange_inRange( &self, attr_name: &NSAttributedStringKey, location: NSUInteger, range: NSRangePointer, range_limit: NSRange, ) -> Option<Id<AnyObject>>
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString only.pub unsafe fn isEqualToAttributedString( &self, other: &NSAttributedString, ) -> bool
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString only.pub unsafe fn enumerateAttributesInRange_options_usingBlock( &self, enumeration_range: NSRange, opts: NSAttributedStringEnumerationOptions, block: &Block<(NonNull<NSDictionary<NSAttributedStringKey, AnyObject>>, NSRange, NonNull<Bool>), ()>, )
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString and Foundation_NSDictionary only.pub unsafe fn enumerateAttribute_inRange_options_usingBlock( &self, attr_name: &NSAttributedStringKey, enumeration_range: NSRange, opts: NSAttributedStringEnumerationOptions, block: &Block<(*mut AnyObject, NSRange, NonNull<Bool>), ()>, )
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString only.pub unsafe fn attributedStringByInflectingString( &self, ) -> Id<NSAttributedString>
icrate::Foundation has been moved to objc2-foundationFoundation_NSAttributedString only.Methods from Deref<Target = NSObject>§
Sourcepub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
Available on crate feature AuthenticationServices only.
pub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
AuthenticationServices only.Handle messages the object doesn’t recognize.
See Apple’s documentation for details.
Methods from Deref<Target = AnyObject>§
Sourcepub fn class(&self) -> &'static AnyClass
pub fn class(&self) -> &'static AnyClass
Dynamically find the class of this object.
§Example
Check that an instance of NSObject has the precise class NSObject.
use objc2::ClassType;
use objc2::runtime::NSObject;
let obj = NSObject::new();
assert_eq!(obj.class(), NSObject::class());Sourcepub unsafe fn get_ivar<T>(&self, name: &str) -> &Twhere
T: Encode,
👎Deprecated: this is difficult to use correctly, use Ivar::load instead.
pub unsafe fn get_ivar<T>(&self, name: &str) -> &Twhere
T: Encode,
Ivar::load instead.Use Ivar::load instead.
§Safety
The object must have an instance variable with the given name, and it
must be of type T.
See Ivar::load_ptr for details surrounding this.
Sourcepub unsafe fn get_mut_ivar<T>(&mut self, name: &str) -> &mut Twhere
T: Encode,
👎Deprecated: this is difficult to use correctly, use Ivar::load_mut instead.
pub unsafe fn get_mut_ivar<T>(&mut self, name: &str) -> &mut Twhere
T: Encode,
Ivar::load_mut instead.Use Ivar::load_mut instead.
§Safety
The object must have an instance variable with the given name, and it
must be of type T.
See Ivar::load_ptr for details surrounding this.
Trait Implementations§
Source§impl AsMut<AnyObject> for NSMutableAttributedString
impl AsMut<AnyObject> for NSMutableAttributedString
Source§impl AsMut<NSAttributedString> for NSMutableAttributedString
impl AsMut<NSAttributedString> for NSMutableAttributedString
Source§fn as_mut(&mut self) -> &mut NSAttributedString
fn as_mut(&mut self) -> &mut NSAttributedString
Source§impl AsMut<NSMutableAttributedString> for NSMutableAttributedString
Available on crate feature Foundation_NSAttributedString only.
impl AsMut<NSMutableAttributedString> for NSMutableAttributedString
Foundation_NSAttributedString only.Source§impl AsMut<NSMutableAttributedString> for NSTextStorage
Available on crate feature AppKit only.
impl AsMut<NSMutableAttributedString> for NSTextStorage
AppKit only.Source§fn as_mut(&mut self) -> &mut NSMutableAttributedString
fn as_mut(&mut self) -> &mut NSMutableAttributedString
Source§impl AsMut<NSObject> for NSMutableAttributedString
impl AsMut<NSObject> for NSMutableAttributedString
Source§impl AsRef<AnyObject> for NSMutableAttributedString
impl AsRef<AnyObject> for NSMutableAttributedString
Source§impl AsRef<NSAttributedString> for NSMutableAttributedString
impl AsRef<NSAttributedString> for NSMutableAttributedString
Source§fn as_ref(&self) -> &NSAttributedString
fn as_ref(&self) -> &NSAttributedString
Source§impl AsRef<NSMutableAttributedString> for NSMutableAttributedString
Available on crate feature Foundation_NSAttributedString only.
impl AsRef<NSMutableAttributedString> for NSMutableAttributedString
Foundation_NSAttributedString only.Source§impl AsRef<NSMutableAttributedString> for NSTextStorage
Available on crate feature AppKit only.
impl AsRef<NSMutableAttributedString> for NSTextStorage
AppKit only.Source§fn as_ref(&self) -> &NSMutableAttributedString
fn as_ref(&self) -> &NSMutableAttributedString
Source§impl AsRef<NSObject> for NSMutableAttributedString
impl AsRef<NSObject> for NSMutableAttributedString
Source§impl Borrow<AnyObject> for NSMutableAttributedString
impl Borrow<AnyObject> for NSMutableAttributedString
Source§impl Borrow<NSAttributedString> for NSMutableAttributedString
impl Borrow<NSAttributedString> for NSMutableAttributedString
Source§fn borrow(&self) -> &NSAttributedString
fn borrow(&self) -> &NSAttributedString
Source§impl Borrow<NSMutableAttributedString> for NSTextStorage
Available on crate feature AppKit only.
impl Borrow<NSMutableAttributedString> for NSTextStorage
AppKit only.Source§fn borrow(&self) -> &NSMutableAttributedString
fn borrow(&self) -> &NSMutableAttributedString
Source§impl Borrow<NSObject> for NSMutableAttributedString
impl Borrow<NSObject> for NSMutableAttributedString
Source§impl BorrowMut<AnyObject> for NSMutableAttributedString
impl BorrowMut<AnyObject> for NSMutableAttributedString
Source§fn borrow_mut(&mut self) -> &mut AnyObject
fn borrow_mut(&mut self) -> &mut AnyObject
Source§impl BorrowMut<NSAttributedString> for NSMutableAttributedString
impl BorrowMut<NSAttributedString> for NSMutableAttributedString
Source§fn borrow_mut(&mut self) -> &mut NSAttributedString
fn borrow_mut(&mut self) -> &mut NSAttributedString
Source§impl BorrowMut<NSMutableAttributedString> for NSTextStorage
Available on crate feature AppKit only.
impl BorrowMut<NSMutableAttributedString> for NSTextStorage
AppKit only.Source§fn borrow_mut(&mut self) -> &mut NSMutableAttributedString
fn borrow_mut(&mut self) -> &mut NSMutableAttributedString
Source§impl BorrowMut<NSObject> for NSMutableAttributedString
impl BorrowMut<NSObject> for NSMutableAttributedString
Source§fn borrow_mut(&mut self) -> &mut NSObject
fn borrow_mut(&mut self) -> &mut NSObject
Source§impl ClassType for NSMutableAttributedString
Available on crate feature Foundation_NSAttributedString only.
impl ClassType for NSMutableAttributedString
Foundation_NSAttributedString only.Source§const NAME: &'static str = "NSMutableAttributedString"
const NAME: &'static str = "NSMutableAttributedString"
Source§type Super = NSAttributedString
type Super = NSAttributedString
Source§type Mutability = MutableWithImmutableSuperclass<NSAttributedString>
type Mutability = MutableWithImmutableSuperclass<NSAttributedString>
Source§fn class() -> &'static AnyClass
fn class() -> &'static AnyClass
Source§fn as_super_mut(&mut self) -> &mut Self::Super
fn as_super_mut(&mut self) -> &mut Self::Super
Source§impl Debug for NSMutableAttributedString
impl Debug for NSMutableAttributedString
Source§impl Deref for NSMutableAttributedString
Available on crate feature Foundation_NSAttributedString only.
impl Deref for NSMutableAttributedString
Foundation_NSAttributedString only.Source§impl DerefMut for NSMutableAttributedString
Available on crate feature Foundation_NSAttributedString only.
impl DerefMut for NSMutableAttributedString
Foundation_NSAttributedString only.Source§impl Hash for NSMutableAttributedString
impl Hash for NSMutableAttributedString
Source§impl NSCoding for NSMutableAttributedString
impl NSCoding for NSMutableAttributedString
Source§unsafe fn encodeWithCoder(&self, coder: &NSCoder)
unsafe fn encodeWithCoder(&self, coder: &NSCoder)
icrate::Foundation has been moved to objc2-foundationFoundation_NSCoder only.Source§impl NSCopying for NSMutableAttributedString
impl NSCopying for NSMutableAttributedString
Source§impl NSMutableCopying for NSMutableAttributedString
impl NSMutableCopying for NSMutableAttributedString
Source§impl NSObjectProtocol for NSMutableAttributedString
impl NSObjectProtocol for NSMutableAttributedString
Source§fn isEqual(&self, other: &AnyObject) -> bool
fn isEqual(&self, other: &AnyObject) -> bool
Source§fn hash(&self) -> usize
fn hash(&self) -> usize
Source§fn isKindOfClass(&self, cls: &AnyClass) -> bool
fn isKindOfClass(&self, cls: &AnyClass) -> bool
Source§fn is_kind_of<T>(&self) -> bool
fn is_kind_of<T>(&self) -> bool
Source§fn isMemberOfClass(&self, cls: &AnyClass) -> bool
fn isMemberOfClass(&self, cls: &AnyClass) -> bool
Source§fn respondsToSelector(&self, aSelector: Sel) -> bool
fn respondsToSelector(&self, aSelector: Sel) -> bool
Source§fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
Source§fn debugDescription(&self) -> Id<NSObject>
fn debugDescription(&self) -> Id<NSObject>
Source§impl PartialEq for NSMutableAttributedString
impl PartialEq for NSMutableAttributedString
Source§fn eq(&self, other: &NSMutableAttributedString) -> bool
fn eq(&self, other: &NSMutableAttributedString) -> bool
self and other values to be equal, and is used by ==.Source§impl RefEncode for NSMutableAttributedString
Available on crate feature Foundation_NSAttributedString only.
impl RefEncode for NSMutableAttributedString
Foundation_NSAttributedString only.Source§const ENCODING_REF: Encoding = <NSAttributedString as ::objc2::RefEncode>::ENCODING_REF
const ENCODING_REF: Encoding = <NSAttributedString as ::objc2::RefEncode>::ENCODING_REF
Source§impl ToOwned for NSMutableAttributedString
impl ToOwned for NSMutableAttributedString
Source§type Owned = Id<NSMutableAttributedString>
type Owned = Id<NSMutableAttributedString>
Source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
1.63.0 · Source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
impl Eq for NSMutableAttributedString
impl Message for NSMutableAttributedString
Foundation_NSAttributedString only.