#[repr(transparent)]pub struct NSSelectionGranularity(pub NSUInteger);
Available on crate feature
NSTextView
only.Expand description
Tuple Fields§
§0: NSUInteger
Implementations§
Source§impl NSSelectionGranularity
impl NSSelectionGranularity
pub const SelectByCharacter: Self
pub const SelectByWord: Self
pub const SelectByParagraph: Self
Trait Implementations§
Source§impl Clone for NSSelectionGranularity
impl Clone for NSSelectionGranularity
Source§fn clone(&self) -> NSSelectionGranularity
fn clone(&self) -> NSSelectionGranularity
Returns a duplicate 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 NSSelectionGranularity
impl Debug for NSSelectionGranularity
Source§impl Encode for NSSelectionGranularity
impl Encode for NSSelectionGranularity
Source§impl Hash for NSSelectionGranularity
impl Hash for NSSelectionGranularity
Source§impl Ord for NSSelectionGranularity
impl Ord for NSSelectionGranularity
Source§fn cmp(&self, other: &NSSelectionGranularity) -> Ordering
fn cmp(&self, other: &NSSelectionGranularity) -> 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 NSSelectionGranularity
impl PartialEq for NSSelectionGranularity
Source§impl PartialOrd for NSSelectionGranularity
impl PartialOrd for NSSelectionGranularity
Source§impl RefEncode for NSSelectionGranularity
impl RefEncode for NSSelectionGranularity
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 NSSelectionGranularity
impl Eq for NSSelectionGranularity
impl StructuralPartialEq for NSSelectionGranularity
Auto Trait Implementations§
impl Freeze for NSSelectionGranularity
impl RefUnwindSafe for NSSelectionGranularity
impl Send for NSSelectionGranularity
impl Sync for NSSelectionGranularity
impl Unpin for NSSelectionGranularity
impl UnwindSafe for NSSelectionGranularity
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.