INSLayoutAnchor

Trait INSLayoutAnchor 

Source
pub trait INSLayoutAnchor: PNSObject {
    // Provided method
    fn m_constraint_equal_to_anchor<A>(&self, anchor: A) -> NSLayoutConstraint
       where A: INSLayoutAnchor { ... }
}
Expand description

A trait containing all the methods for NSLayoutAnchor

Provided Methods§

Source

fn m_constraint_equal_to_anchor<A>(&self, anchor: A) -> NSLayoutConstraint
where A: INSLayoutAnchor,

Returns a constraint that defines one item’s attribute as equal to another.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§