pub unsafe trait NSTextViewportLayoutControllerDelegate: NSObjectProtocol {
// Provided methods
fn viewportBoundsForTextViewportLayoutController(
&self,
text_viewport_layout_controller: &NSTextViewportLayoutController,
) -> CGRect
where Self: Sized + Message { ... }
fn textViewportLayoutController_configureRenderingSurfaceForTextLayoutFragment(
&self,
text_viewport_layout_controller: &NSTextViewportLayoutController,
text_layout_fragment: &NSTextLayoutFragment,
)
where Self: Sized + Message { ... }
fn textViewportLayoutControllerWillLayout(
&self,
text_viewport_layout_controller: &NSTextViewportLayoutController,
)
where Self: Sized + Message { ... }
fn textViewportLayoutControllerDidLayout(
&self,
text_viewport_layout_controller: &NSTextViewportLayoutController,
)
where Self: Sized + Message { ... }
}
Available on crate feature
NSTextViewportLayoutController
only.Expand description
Provided Methods§
fn viewportBoundsForTextViewportLayoutController( &self, text_viewport_layout_controller: &NSTextViewportLayoutController, ) -> CGRect
Available on crate feature
objc2-core-foundation
only.fn textViewportLayoutController_configureRenderingSurfaceForTextLayoutFragment( &self, text_viewport_layout_controller: &NSTextViewportLayoutController, text_layout_fragment: &NSTextLayoutFragment, )
Available on crate feature
NSTextLayoutFragment
only.