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

Provided Methods§

source

unsafe fn viewportBoundsForTextViewportLayoutController( &self, text_viewport_layout_controller: &NSTextViewportLayoutController ) -> CGRect
where Self: Sized + Message,

source

unsafe fn textViewportLayoutController_configureRenderingSurfaceForTextLayoutFragment( &self, text_viewport_layout_controller: &NSTextViewportLayoutController, text_layout_fragment: &NSTextLayoutFragment )
where Self: Sized + Message,

Available on crate feature NSTextLayoutFragment only.
source

unsafe fn textViewportLayoutControllerWillLayout( &self, text_viewport_layout_controller: &NSTextViewportLayoutController )
where Self: Sized + Message,

source

unsafe fn textViewportLayoutControllerDidLayout( &self, text_viewport_layout_controller: &NSTextViewportLayoutController )
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSTextViewportLayoutControllerDelegate

source§

const NAME: &'static str = "NSTextViewportLayoutControllerDelegate"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn NSTextViewportLayoutControllerDelegate

Implementations on Foreign Types§

source§

impl<T> NSTextViewportLayoutControllerDelegate for ProtocolObject<T>

Implementors§