pub unsafe trait VZGraphicsDisplayObserver: NSObjectProtocol {
// Provided methods
unsafe fn displayDidBeginReconfiguration(&self, display: &VZGraphicsDisplay)
where Self: Sized + Message { ... }
unsafe fn displayDidEndReconfiguration(&self, display: &VZGraphicsDisplay)
where Self: Sized + Message { ... }
}
Available on crate feature
VZGraphicsDisplay
only.Expand description
VZGraphicsDisplayObserver observes a VZGraphicsDisplay for state changes.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn displayDidBeginReconfiguration(&self, display: &VZGraphicsDisplay)
unsafe fn displayDidBeginReconfiguration(&self, display: &VZGraphicsDisplay)
A reconfiguration operation has begun.
A configuration change, such as a resize, has been issued and new frames are expected with a new size or configuration. This method will be invoked on the virtual machine’s queue.
Parameter display
: The display whose state is changing.
Sourceunsafe fn displayDidEndReconfiguration(&self, display: &VZGraphicsDisplay)
unsafe fn displayDidEndReconfiguration(&self, display: &VZGraphicsDisplay)
A reconfiguration operation has ended.
Frame updates have arrived at the most recently requested display size and configuration. This method will be invoked on the virtual machine’s queue.
Parameter display
: The display whose state is changing.