Skip to main content

AXBrailleMapRenderer

Trait AXBrailleMapRenderer 

Source
pub unsafe trait AXBrailleMapRenderer: NSObjectProtocol {
    // Provided methods
    unsafe fn accessibilityBrailleMapRenderRegion(&self) -> CGRect
       where Self: Sized + Message { ... }
    unsafe fn setAccessibilityBrailleMapRenderRegion(
        &self,
        accessibility_braille_map_render_region: CGRect,
    )
       where Self: Sized + Message { ... }
    unsafe fn accessibilityBrailleMapRenderer(
        &self,
    ) -> NonNull<DynBlock<dyn Fn(NonNull<AXBrailleMap>)>>
       where Self: Sized + Message { ... }
    unsafe fn setAccessibilityBrailleMapRenderer(
        &self,
        accessibility_braille_map_renderer: &DynBlock<dyn Fn(NonNull<AXBrailleMap>)>,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature AXBrailleMap only.
Expand description

Provided Methods§

Source

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

Available on crate feature objc2-core-foundation only.
Source

unsafe fn setAccessibilityBrailleMapRenderRegion( &self, accessibility_braille_map_render_region: CGRect, )
where Self: Sized + Message,

Available on crate feature objc2-core-foundation only.
Source

unsafe fn accessibilityBrailleMapRenderer( &self, ) -> NonNull<DynBlock<dyn Fn(NonNull<AXBrailleMap>)>>
where Self: Sized + Message,

Available on crate feature block2 only.
§Safety

The returned block’s argument must be a valid pointer.

Source

unsafe fn setAccessibilityBrailleMapRenderer( &self, accessibility_braille_map_renderer: &DynBlock<dyn Fn(NonNull<AXBrailleMap>)>, )
where Self: Sized + Message,

Available on crate feature block2 only.

Setter for accessibilityBrailleMapRenderer.

This is copied when set.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn AXBrailleMapRenderer

Source§

impl ProtocolType for dyn AXBrailleMapRenderer

Source§

const NAME: &'static str = "AXBrailleMapRenderer"

The name of the Objective-C protocol that this type represents. Read more
Source§

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

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> AXBrailleMapRenderer for ProtocolObject<T>

Implementors§