#[repr(usize)]pub enum NSCursorFrameResizePosition {
Top = 1,
Left = 2,
Bottom = 4,
Right = 8,
TopLeft = 3,
TopRight = 9,
BottomLeft = 6,
BottomRight = 12,
}
Available on crate feature
NSCursor
only.Expand description
The position along the perimeter of a rectangular frame (its edges and corners) from which it’s resized.
See also Apple’s documentation
Variants§
Top = 1
The top edge of the frame.
Left = 2
The left edge of the frame.
Bottom = 4
The bottom edge of the frame.
Right = 8
The right edge of the frame.
TopLeft = 3
The top left corner of the frame.
TopRight = 9
The top right corner of the frame.
BottomLeft = 6
The bottom left corner of the frame.
BottomRight = 12
The bottom right corner of the frame.
Trait Implementations§
Source§impl Clone for NSCursorFrameResizePosition
impl Clone for NSCursorFrameResizePosition
Source§fn clone(&self) -> NSCursorFrameResizePosition
fn clone(&self) -> NSCursorFrameResizePosition
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 NSCursorFrameResizePosition
impl Debug for NSCursorFrameResizePosition
Source§impl Encode for NSCursorFrameResizePosition
impl Encode for NSCursorFrameResizePosition
Source§impl Hash for NSCursorFrameResizePosition
impl Hash for NSCursorFrameResizePosition
Source§impl Ord for NSCursorFrameResizePosition
impl Ord for NSCursorFrameResizePosition
Source§fn cmp(&self, other: &NSCursorFrameResizePosition) -> Ordering
fn cmp(&self, other: &NSCursorFrameResizePosition) -> 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 PartialOrd for NSCursorFrameResizePosition
impl PartialOrd for NSCursorFrameResizePosition
Source§impl RefEncode for NSCursorFrameResizePosition
impl RefEncode for NSCursorFrameResizePosition
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 NSCursorFrameResizePosition
impl Eq for NSCursorFrameResizePosition
impl StructuralPartialEq for NSCursorFrameResizePosition
Auto Trait Implementations§
impl Freeze for NSCursorFrameResizePosition
impl RefUnwindSafe for NSCursorFrameResizePosition
impl Send for NSCursorFrameResizePosition
impl Sync for NSCursorFrameResizePosition
impl Unpin for NSCursorFrameResizePosition
impl UnwindSafe for NSCursorFrameResizePosition
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.