Struct objc2_app_kit::NSUnderlineStyle
source · #[repr(transparent)]pub struct NSUnderlineStyle(pub NSInteger);
Available on crate feature
NSAttributedString
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl NSUnderlineStyle
impl NSUnderlineStyle
pub const None: Self = _
pub const Single: Self = _
pub const Thick: Self = _
pub const Double: Self = _
pub const PatternSolid: Self = _
pub const PatternDot: Self = _
pub const PatternDash: Self = _
pub const PatternDashDot: Self = _
pub const PatternDashDotDot: Self = _
pub const ByWord: Self = _
Trait Implementations§
source§impl Clone for NSUnderlineStyle
impl Clone for NSUnderlineStyle
source§fn clone(&self) -> NSUnderlineStyle
fn clone(&self) -> NSUnderlineStyle
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 NSUnderlineStyle
impl Debug for NSUnderlineStyle
source§impl Encode for NSUnderlineStyle
impl Encode for NSUnderlineStyle
source§impl Hash for NSUnderlineStyle
impl Hash for NSUnderlineStyle
source§impl Ord for NSUnderlineStyle
impl Ord for NSUnderlineStyle
source§fn cmp(&self, other: &NSUnderlineStyle) -> Ordering
fn cmp(&self, other: &NSUnderlineStyle) -> 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 NSUnderlineStyle
impl PartialEq for NSUnderlineStyle
source§fn eq(&self, other: &NSUnderlineStyle) -> bool
fn eq(&self, other: &NSUnderlineStyle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSUnderlineStyle
impl PartialOrd for NSUnderlineStyle
source§fn partial_cmp(&self, other: &NSUnderlineStyle) -> Option<Ordering>
fn partial_cmp(&self, other: &NSUnderlineStyle) -> 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 NSUnderlineStyle
impl RefEncode for NSUnderlineStyle
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 NSUnderlineStyle
impl Eq for NSUnderlineStyle
impl StructuralPartialEq for NSUnderlineStyle
Auto Trait Implementations§
impl Freeze for NSUnderlineStyle
impl RefUnwindSafe for NSUnderlineStyle
impl Send for NSUnderlineStyle
impl Sync for NSUnderlineStyle
impl Unpin for NSUnderlineStyle
impl UnwindSafe for NSUnderlineStyle
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.