pub unsafe trait CALayoutManager: NSObjectProtocol {
// Provided methods
unsafe fn preferredSizeOfLayer(&self, layer: &CALayer) -> CGSize
where Self: Sized + Message { ... }
unsafe fn invalidateLayoutOfLayer(&self, layer: &CALayer)
where Self: Sized + Message { ... }
unsafe fn layoutSublayersOfLayer(&self, layer: &CALayer)
where Self: Sized + Message { ... }
}
Available on crate feature
CALayer
only.Expand description
Layout manager protocol. *
See also Apple’s documentation
Provided Methods§
unsafe fn preferredSizeOfLayer(&self, layer: &CALayer) -> CGSize
Available on crate feature
objc2-core-foundation
only.unsafe fn invalidateLayoutOfLayer(&self, layer: &CALayer)
unsafe fn layoutSublayersOfLayer(&self, layer: &CALayer)
Trait Implementations§
Source§impl ProtocolType for dyn CALayoutManager
impl ProtocolType for dyn CALayoutManager
impl<T> ImplementedBy<T> for dyn CALayoutManager
Implementations on Foreign Types§
impl<T> CALayoutManager for ProtocolObject<T>where
T: ?Sized + CALayoutManager,
Implementors§
impl CALayoutManager for CAConstraintLayoutManager
Available on crate feature
CAConstraintLayoutManager
only.