pub struct NSMutableParagraphStyle { /* private fields */ }Expand description
An object for changing the values of the subattributes in a paragraph style attribute.
Implementations§
Source§impl NSMutableParagraphStyle
impl NSMutableParagraphStyle
Sourcepub fn new() -> NSMutableParagraphStyle
pub fn new() -> NSMutableParagraphStyle
Initializes a newly allocated mutable paragraph style.
Sourcepub fn set_alignment(&mut self, alignment: NSTextAlignment)
pub fn set_alignment(&mut self, alignment: NSTextAlignment)
Sets the text alignment of the paragraph.
Trait Implementations§
Source§impl Drop for NSMutableParagraphStyle
impl Drop for NSMutableParagraphStyle
Source§impl Into<NSParagraphStyle> for NSMutableParagraphStyle
impl Into<NSParagraphStyle> for NSMutableParagraphStyle
Source§fn into(self) -> NSParagraphStyle
fn into(self) -> NSParagraphStyle
Converts this type into the (usually inferred) input type.
Source§impl Raw for NSMutableParagraphStyle
impl Raw for NSMutableParagraphStyle
Auto Trait Implementations§
impl Freeze for NSMutableParagraphStyle
impl RefUnwindSafe for NSMutableParagraphStyle
impl !Send for NSMutableParagraphStyle
impl !Sync for NSMutableParagraphStyle
impl Unpin for NSMutableParagraphStyle
impl UnsafeUnpin for NSMutableParagraphStyle
impl UnwindSafe for NSMutableParagraphStyle
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