pub unsafe trait UILayoutSupport: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn length(&self) -> CGFloat
where Self: Sized + Message { ... }
fn topAnchor(&self) -> Retained<NSLayoutYAxisAnchor>
where Self: Sized + Message { ... }
fn bottomAnchor(&self) -> Retained<NSLayoutYAxisAnchor>
where Self: Sized + Message { ... }
fn heightAnchor(&self) -> Retained<NSLayoutDimension>
where Self: Sized + Message { ... }
}Available on crate feature
NSLayoutConstraint only.Expand description
Provided Methods§
fn length(&self) -> CGFloat
Available on crate feature
objc2-core-foundation only.fn topAnchor(&self) -> Retained<NSLayoutYAxisAnchor>
Available on crate feature
NSLayoutAnchor only.fn bottomAnchor(&self) -> Retained<NSLayoutYAxisAnchor>
Available on crate feature
NSLayoutAnchor only.fn heightAnchor(&self) -> Retained<NSLayoutDimension>
Available on crate feature
NSLayoutAnchor only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn UILayoutSupport
Source§impl ProtocolType for dyn UILayoutSupport
impl ProtocolType for dyn UILayoutSupport
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".