pub struct PLYKeyboardAvoidingView { /* private fields */ }Expand description
A view that invoke a callback when the keyboard appears, changes its appearance or disappears.
Implementations§
Source§impl PLYKeyboardAvoidingView
impl PLYKeyboardAvoidingView
Sourcepub fn new() -> PLYKeyboardAvoidingView
pub fn new() -> PLYKeyboardAvoidingView
Initializes a newly allocated keyboard avoiding view.
Sourcepub fn set_on_keyboard(&mut self, callback: PLYCallback<NSNumber>)
pub fn set_on_keyboard(&mut self, callback: PLYCallback<NSNumber>)
Sets a callback that is invoked whenever the keyboard appears, changes its appearance or disappears.
Trait Implementations§
Source§impl Clone for PLYKeyboardAvoidingView
impl Clone for PLYKeyboardAvoidingView
Source§impl Drop for PLYKeyboardAvoidingView
impl Drop for PLYKeyboardAvoidingView
Source§impl Raw for PLYKeyboardAvoidingView
impl Raw for PLYKeyboardAvoidingView
Auto Trait Implementations§
impl Freeze for PLYKeyboardAvoidingView
impl RefUnwindSafe for PLYKeyboardAvoidingView
impl !Send for PLYKeyboardAvoidingView
impl !Sync for PLYKeyboardAvoidingView
impl Unpin for PLYKeyboardAvoidingView
impl UnsafeUnpin for PLYKeyboardAvoidingView
impl UnwindSafe for PLYKeyboardAvoidingView
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