pub struct NSMutableAttributedString { /* private fields */ }Expand description
A mutable string object that also contains attributes (such as visual style, hyperlinks, or accessibility data) associated with various portions of its text content.
Implementations§
Source§impl NSMutableAttributedString
impl NSMutableAttributedString
Sourcepub fn new() -> NSMutableAttributedString
pub fn new() -> NSMutableAttributedString
Initializes a newly allocated mutable attributed string.
Sourcepub fn append_attributed_string(&mut self, string: &NSAttributedString)
pub fn append_attributed_string(&mut self, string: &NSAttributedString)
Adds the characters and attributes of a given attributed string to the end of the receiver.
Trait Implementations§
Source§impl Drop for NSMutableAttributedString
impl Drop for NSMutableAttributedString
Source§impl Into<NSAttributedString> for NSMutableAttributedString
impl Into<NSAttributedString> for NSMutableAttributedString
Source§fn into(self) -> NSAttributedString
fn into(self) -> NSAttributedString
Converts this type into the (usually inferred) input type.
Source§impl Raw for NSMutableAttributedString
impl Raw for NSMutableAttributedString
Auto Trait Implementations§
impl Freeze for NSMutableAttributedString
impl RefUnwindSafe for NSMutableAttributedString
impl !Send for NSMutableAttributedString
impl !Sync for NSMutableAttributedString
impl Unpin for NSMutableAttributedString
impl UnsafeUnpin for NSMutableAttributedString
impl UnwindSafe for NSMutableAttributedString
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