pub trait INSLayoutConstraint: PNSObject {
// Provided methods
fn p_active(&self) -> bool { ... }
fn p_set_active(&self, active: bool) { ... }
fn m_activate_constraints(constraints: NSArray<NSLayoutConstraint>) { ... }
fn m_deactivate_constraints(constraints: NSArray<NSLayoutConstraint>) { ... }
}Expand description
A trait containing all the methods for NSLayoutConstraint
Provided Methods§
Sourcefn p_set_active(&self, active: bool)
fn p_set_active(&self, active: bool)
Sourcefn m_activate_constraints(constraints: NSArray<NSLayoutConstraint>)
fn m_activate_constraints(constraints: NSArray<NSLayoutConstraint>)
Activates each constraint in the specified array.
§Arguments
constraints- The array of constraints to activate.
Sourcefn m_deactivate_constraints(constraints: NSArray<NSLayoutConstraint>)
fn m_deactivate_constraints(constraints: NSArray<NSLayoutConstraint>)
Deactivates each constraint in the specified array.
§Arguments
constraints- The array of constraints to deactivate.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".