#[repr(transparent)]pub struct NSLayoutAttribute(pub NSInteger);
Available on crate feature
NSLayoutConstraint
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl NSLayoutAttribute
impl NSLayoutAttribute
pub const Left: Self
pub const Right: Self
pub const Top: Self
pub const Bottom: Self
pub const Leading: Self
pub const Trailing: Self
pub const Width: Self
pub const Height: Self
pub const CenterX: Self
pub const CenterY: Self
pub const LastBaseline: Self
pub const Baseline: Self
pub const FirstBaseline: Self
pub const LeftMargin: Self
pub const RightMargin: Self
pub const TopMargin: Self
pub const BottomMargin: Self
pub const LeadingMargin: Self
pub const TrailingMargin: Self
pub const CenterXWithinMargins: Self
pub const CenterYWithinMargins: Self
pub const NotAnAttribute: Self
Trait Implementations§
Source§impl Clone for NSLayoutAttribute
impl Clone for NSLayoutAttribute
Source§fn clone(&self) -> NSLayoutAttribute
fn clone(&self) -> NSLayoutAttribute
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 NSLayoutAttribute
impl Debug for NSLayoutAttribute
Source§impl Encode for NSLayoutAttribute
impl Encode for NSLayoutAttribute
Source§impl Hash for NSLayoutAttribute
impl Hash for NSLayoutAttribute
Source§impl Ord for NSLayoutAttribute
impl Ord for NSLayoutAttribute
Source§fn cmp(&self, other: &NSLayoutAttribute) -> Ordering
fn cmp(&self, other: &NSLayoutAttribute) -> 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 NSLayoutAttribute
impl PartialEq for NSLayoutAttribute
Source§impl PartialOrd for NSLayoutAttribute
impl PartialOrd for NSLayoutAttribute
Source§impl RefEncode for NSLayoutAttribute
impl RefEncode for NSLayoutAttribute
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 NSLayoutAttribute
impl Eq for NSLayoutAttribute
impl StructuralPartialEq for NSLayoutAttribute
Auto Trait Implementations§
impl Freeze for NSLayoutAttribute
impl RefUnwindSafe for NSLayoutAttribute
impl Send for NSLayoutAttribute
impl Sync for NSLayoutAttribute
impl Unpin for NSLayoutAttribute
impl UnwindSafe for NSLayoutAttribute
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.