pub struct PLYTextInputView { /* private fields */ }Expand description
An object that displays an editable text area in your interface.
Implementations§
Source§impl PLYTextInputView
impl PLYTextInputView
Sourcepub fn new() -> PLYTextInputView
pub fn new() -> PLYTextInputView
Initializes a newly allocated text input view.
Sourcepub fn set_attributed_placeholder(&mut self, placeholder: &NSAttributedString)
pub fn set_attributed_placeholder(&mut self, placeholder: &NSAttributedString)
Sets the styled string that displays when there is no other text in the text field.
Trait Implementations§
Source§impl Clone for PLYTextInputView
impl Clone for PLYTextInputView
Source§impl Drop for PLYTextInputView
impl Drop for PLYTextInputView
Source§impl Raw for PLYTextInputView
impl Raw for PLYTextInputView
Auto Trait Implementations§
impl Freeze for PLYTextInputView
impl RefUnwindSafe for PLYTextInputView
impl !Send for PLYTextInputView
impl !Sync for PLYTextInputView
impl Unpin for PLYTextInputView
impl UnsafeUnpin for PLYTextInputView
impl UnwindSafe for PLYTextInputView
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