pub struct MacElement(/* private fields */);Available on macOS only.
Expand description
A live macOS accessibility element: the MacBackend handle type.
Unlike a bare CFRetained<AXUIElement>, it is Send and Sync, so a
Computer over MacBackend can move between threads.
Implementations§
Source§impl MacElement
impl MacElement
Sourcepub fn as_ax(&self) -> &AXUIElement
pub fn as_ax(&self) -> &AXUIElement
The underlying AXUIElement.
Trait Implementations§
Source§impl Clone for MacElement
impl Clone for MacElement
Source§impl Debug for MacElement
impl Debug for MacElement
impl Eq for MacElement
Source§impl Hash for MacElement
impl Hash for MacElement
Source§impl PartialEq for MacElement
impl PartialEq for MacElement
impl Send for MacElement
impl StructuralPartialEq for MacElement
impl Sync for MacElement
Auto Trait Implementations§
impl !RefUnwindSafe for MacElement
impl !UnwindSafe for MacElement
impl Forget for MacElement
impl Freeze for MacElement
impl Unpin for MacElement
impl UnsafeUnpin for MacElement
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more