Struct ExAdjustViewportToCaret
pub struct ExAdjustViewportToCaret<'a> { /* private fields */ }
Expand description
Default-param extender for TextEdit::adjust_viewport_to_caret_ex
.
Implementations§
§impl<'a> ExAdjustViewportToCaret<'a>
impl<'a> ExAdjustViewportToCaret<'a>
pub fn caret_index(self, caret_index: i32) -> ExAdjustViewportToCaret<'a>
pub fn done(self)
Auto Trait Implementations§
impl<'a> Freeze for ExAdjustViewportToCaret<'a>
impl<'a> RefUnwindSafe for ExAdjustViewportToCaret<'a>
impl<'a> !Send for ExAdjustViewportToCaret<'a>
impl<'a> !Sync for ExAdjustViewportToCaret<'a>
impl<'a> Unpin for ExAdjustViewportToCaret<'a>
impl<'a> !UnwindSafe for ExAdjustViewportToCaret<'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