[][src]Trait uikit_sys::INSLayoutConstraint

pub trait INSLayoutConstraint: Sized + Deref {
    unsafe fn priority(self) -> UILayoutPriority
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setPriority_(self, priority: UILayoutPriority)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn shouldBeArchived(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setShouldBeArchived_(self, shouldBeArchived: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn firstItem(self) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn secondItem(self) -> id
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn firstAttribute(self) -> NSLayoutAttribute
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn secondAttribute(self) -> NSLayoutAttribute
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn firstAnchor(self) -> NSLayoutAnchor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn secondAnchor(self) -> NSLayoutAnchor
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn relation(self) -> NSLayoutRelation
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn multiplier(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn constant(self) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setConstant_(self, constant: CGFloat)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn isActive(self) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn setActive_(self, active: BOOL)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn constraintsWithVisualFormat_options_metrics_views_(
        format: NSString,
        opts: NSLayoutFormatOptions,
        metrics: NSDictionary,
        views: NSDictionary
    ) -> NSArray
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn constraintWithItem_attribute_relatedBy_toItem_attribute_multiplier_constant_(
        view1: id,
        attr1: NSLayoutAttribute,
        relation: NSLayoutRelation,
        view2: id,
        attr2: NSLayoutAttribute,
        multiplier: CGFloat,
        c: CGFloat
    ) -> instancetype
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn activateConstraints_(constraints: NSArray)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn deactivateConstraints_(constraints: NSArray)
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn priority(self) -> UILayoutPriority where
    Self::Target: Message + Sized

unsafe fn setPriority_(self, priority: UILayoutPriority) where
    Self::Target: Message + Sized

unsafe fn shouldBeArchived(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setShouldBeArchived_(self, shouldBeArchived: BOOL) where
    Self::Target: Message + Sized

unsafe fn firstItem(self) -> id where
    Self::Target: Message + Sized

unsafe fn secondItem(self) -> id where
    Self::Target: Message + Sized

unsafe fn firstAttribute(self) -> NSLayoutAttribute where
    Self::Target: Message + Sized

unsafe fn secondAttribute(self) -> NSLayoutAttribute where
    Self::Target: Message + Sized

unsafe fn firstAnchor(self) -> NSLayoutAnchor where
    Self::Target: Message + Sized

unsafe fn secondAnchor(self) -> NSLayoutAnchor where
    Self::Target: Message + Sized

unsafe fn relation(self) -> NSLayoutRelation where
    Self::Target: Message + Sized

unsafe fn multiplier(self) -> CGFloat where
    Self::Target: Message + Sized

unsafe fn constant(self) -> CGFloat where
    Self::Target: Message + Sized

unsafe fn setConstant_(self, constant: CGFloat) where
    Self::Target: Message + Sized

unsafe fn isActive(self) -> BOOL where
    Self::Target: Message + Sized

unsafe fn setActive_(self, active: BOOL) where
    Self::Target: Message + Sized

unsafe fn constraintsWithVisualFormat_options_metrics_views_(
    format: NSString,
    opts: NSLayoutFormatOptions,
    metrics: NSDictionary,
    views: NSDictionary
) -> NSArray where
    Self::Target: Message + Sized

unsafe fn constraintWithItem_attribute_relatedBy_toItem_attribute_multiplier_constant_(
    view1: id,
    attr1: NSLayoutAttribute,
    relation: NSLayoutRelation,
    view2: id,
    attr2: NSLayoutAttribute,
    multiplier: CGFloat,
    c: CGFloat
) -> instancetype where
    Self::Target: Message + Sized

unsafe fn activateConstraints_(constraints: NSArray) where
    Self::Target: Message + Sized

unsafe fn deactivateConstraints_(constraints: NSArray) where
    Self::Target: Message + Sized

Loading content...

Implementors

impl INSLayoutConstraint for NSLayoutConstraint[src]

Loading content...