#[repr(transparent)]pub struct NSPresentationIntentKind(pub NSInteger);
Available on crate feature
NSAttributedString
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl NSPresentationIntentKind
impl NSPresentationIntentKind
pub const Paragraph: Self = _
pub const Header: Self = _
pub const OrderedList: Self = _
pub const UnorderedList: Self = _
pub const ListItem: Self = _
pub const CodeBlock: Self = _
pub const BlockQuote: Self = _
pub const ThematicBreak: Self = _
pub const Table: Self = _
pub const TableHeaderRow: Self = _
pub const TableRow: Self = _
pub const TableCell: Self = _
Trait Implementations§
source§impl Clone for NSPresentationIntentKind
impl Clone for NSPresentationIntentKind
source§fn clone(&self) -> NSPresentationIntentKind
fn clone(&self) -> NSPresentationIntentKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NSPresentationIntentKind
impl Debug for NSPresentationIntentKind
source§impl Encode for NSPresentationIntentKind
impl Encode for NSPresentationIntentKind
source§impl Hash for NSPresentationIntentKind
impl Hash for NSPresentationIntentKind
source§impl Ord for NSPresentationIntentKind
impl Ord for NSPresentationIntentKind
source§fn cmp(&self, other: &NSPresentationIntentKind) -> Ordering
fn cmp(&self, other: &NSPresentationIntentKind) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for NSPresentationIntentKind
impl PartialEq for NSPresentationIntentKind
source§fn eq(&self, other: &NSPresentationIntentKind) -> bool
fn eq(&self, other: &NSPresentationIntentKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSPresentationIntentKind
impl PartialOrd for NSPresentationIntentKind
source§fn partial_cmp(&self, other: &NSPresentationIntentKind) -> Option<Ordering>
fn partial_cmp(&self, other: &NSPresentationIntentKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl RefEncode for NSPresentationIntentKind
impl RefEncode for NSPresentationIntentKind
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NSPresentationIntentKind
impl Eq for NSPresentationIntentKind
impl StructuralPartialEq for NSPresentationIntentKind
Auto Trait Implementations§
impl Freeze for NSPresentationIntentKind
impl RefUnwindSafe for NSPresentationIntentKind
impl Send for NSPresentationIntentKind
impl Sync for NSPresentationIntentKind
impl Unpin for NSPresentationIntentKind
impl UnwindSafe for NSPresentationIntentKind
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.