Struct objc2_foundation::NSRectEdge
source · #[repr(transparent)]pub struct NSRectEdge(pub NSUInteger);
Available on crate feature
NSGeometry
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSRectEdge
impl NSRectEdge
pub const MinX: Self = _
pub const MinY: Self = _
pub const MaxX: Self = _
pub const MaxY: Self = _
pub const NSMinXEdge: Self = _
pub const NSMinYEdge: Self = _
pub const NSMaxXEdge: Self = _
pub const NSMaxYEdge: Self = _
Trait Implementations§
source§impl Clone for NSRectEdge
impl Clone for NSRectEdge
source§fn clone(&self) -> NSRectEdge
fn clone(&self) -> NSRectEdge
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 NSRectEdge
impl Debug for NSRectEdge
source§impl Encode for NSRectEdge
impl Encode for NSRectEdge
source§impl Hash for NSRectEdge
impl Hash for NSRectEdge
source§impl Ord for NSRectEdge
impl Ord for NSRectEdge
source§fn cmp(&self, other: &NSRectEdge) -> Ordering
fn cmp(&self, other: &NSRectEdge) -> 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 NSRectEdge
impl PartialEq for NSRectEdge
source§fn eq(&self, other: &NSRectEdge) -> bool
fn eq(&self, other: &NSRectEdge) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSRectEdge
impl PartialOrd for NSRectEdge
source§fn partial_cmp(&self, other: &NSRectEdge) -> Option<Ordering>
fn partial_cmp(&self, other: &NSRectEdge) -> 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 NSRectEdge
impl RefEncode for NSRectEdge
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 NSRectEdge
impl Eq for NSRectEdge
impl StructuralPartialEq for NSRectEdge
Auto Trait Implementations§
impl Freeze for NSRectEdge
impl RefUnwindSafe for NSRectEdge
impl Send for NSRectEdge
impl Sync for NSRectEdge
impl Unpin for NSRectEdge
impl UnwindSafe for NSRectEdge
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.