#[repr(i64)]pub enum NSFormattingContext {
Unknown = 0,
Dynamic = 1,
Standalone = 2,
ListItem = 3,
BeginningOfSentence = 4,
MiddleOfSentence = 5,
}Expand description
The formatting context for a formatter.
Variants§
Unknown = 0
An unknown formatting context.
Dynamic = 1
A formatting context determined automatically at runtime.
Standalone = 2
The formatting context for stand-alone usage.
ListItem = 3
The formatting context for a list or menu item.
BeginningOfSentence = 4
The formatting context for the beginning of a sentence.
MiddleOfSentence = 5
The formatting context for the middle of a sentence.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NSFormattingContext
impl RefUnwindSafe for NSFormattingContext
impl Send for NSFormattingContext
impl Sync for NSFormattingContext
impl Unpin for NSFormattingContext
impl UnwindSafe for NSFormattingContext
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