pub struct XComponent<'a> { /* private fields */ }
Implementations§
Source§impl<'a> XComponent<'a>
impl<'a> XComponent<'a>
pub fn new( xcomponent: *mut OH_NativeXComponent, window: *mut c_void, ) -> Option<XComponent<'a>>
pub fn get_touch_event(&self) -> Result<OH_NativeXComponent_TouchEvent, i32>
Auto Trait Implementations§
impl<'a> Freeze for XComponent<'a>
impl<'a> RefUnwindSafe for XComponent<'a>
impl<'a> !Send for XComponent<'a>
impl<'a> !Sync for XComponent<'a>
impl<'a> Unpin for XComponent<'a>
impl<'a> !UnwindSafe for XComponent<'a>
Blanket Implementations§
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