Trait objc2_ui_kit::UILayoutSupport
source · pub unsafe trait UILayoutSupport: NSObjectProtocol + IsMainThreadOnly {
// Provided methods
unsafe fn length(&self) -> CGFloat
where Self: Sized + Message { ... }
unsafe fn topAnchor(&self) -> Retained<NSLayoutYAxisAnchor>
where Self: Sized + Message { ... }
unsafe fn bottomAnchor(&self) -> Retained<NSLayoutYAxisAnchor>
where Self: Sized + Message { ... }
unsafe fn heightAnchor(&self) -> Retained<NSLayoutDimension>
where Self: Sized + Message { ... }
}
Available on crate feature
NSLayoutConstraint
only.Provided Methods§
unsafe fn length(&self) -> CGFloat
unsafe fn topAnchor(&self) -> Retained<NSLayoutYAxisAnchor>
Available on crate feature
NSLayoutAnchor
only.unsafe fn bottomAnchor(&self) -> Retained<NSLayoutYAxisAnchor>
Available on crate feature
NSLayoutAnchor
only.unsafe fn heightAnchor(&self) -> Retained<NSLayoutDimension>
Available on crate feature
NSLayoutAnchor
only.