Struct objc2_app_kit::NSScrollerPart
source · #[repr(transparent)]pub struct NSScrollerPart(pub NSUInteger);
Available on crate feature
NSScroller
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSScrollerPart
impl NSScrollerPart
pub const NSScrollerNoPart: Self = _
pub const NSScrollerDecrementPage: Self = _
pub const NSScrollerKnob: Self = _
pub const NSScrollerIncrementPage: Self = _
pub const NSScrollerDecrementLine: Self = _
👎Deprecated: Scroller arrows are not used anymore.
pub const NSScrollerIncrementLine: Self = _
👎Deprecated: Scroller arrows are not used anymore.
pub const NSScrollerKnobSlot: Self = _
Trait Implementations§
source§impl Clone for NSScrollerPart
impl Clone for NSScrollerPart
source§fn clone(&self) -> NSScrollerPart
fn clone(&self) -> NSScrollerPart
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 NSScrollerPart
impl Debug for NSScrollerPart
source§impl Encode for NSScrollerPart
impl Encode for NSScrollerPart
source§impl Hash for NSScrollerPart
impl Hash for NSScrollerPart
source§impl Ord for NSScrollerPart
impl Ord for NSScrollerPart
source§fn cmp(&self, other: &NSScrollerPart) -> Ordering
fn cmp(&self, other: &NSScrollerPart) -> 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 NSScrollerPart
impl PartialEq for NSScrollerPart
source§fn eq(&self, other: &NSScrollerPart) -> bool
fn eq(&self, other: &NSScrollerPart) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSScrollerPart
impl PartialOrd for NSScrollerPart
source§fn partial_cmp(&self, other: &NSScrollerPart) -> Option<Ordering>
fn partial_cmp(&self, other: &NSScrollerPart) -> 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 NSScrollerPart
impl RefEncode for NSScrollerPart
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 NSScrollerPart
impl Eq for NSScrollerPart
impl StructuralPartialEq for NSScrollerPart
Auto Trait Implementations§
impl Freeze for NSScrollerPart
impl RefUnwindSafe for NSScrollerPart
impl Send for NSScrollerPart
impl Sync for NSScrollerPart
impl Unpin for NSScrollerPart
impl UnwindSafe for NSScrollerPart
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.