pub enum KeepCursorInView {
Once,
Always(DVec2, NextFrame),
LockStart,
Locked(DVec2),
LockedCenter(DVec2, Position, Affinity),
FontResize(DVec2),
JumpToPosition,
Off,
}
Variants§
Once
Always(DVec2, NextFrame)
LockStart
Locked(DVec2)
LockedCenter(DVec2, Position, Affinity)
FontResize(DVec2)
JumpToPosition
Off
Auto Trait Implementations§
impl Freeze for KeepCursorInView
impl RefUnwindSafe for KeepCursorInView
impl Send for KeepCursorInView
impl Sync for KeepCursorInView
impl Unpin for KeepCursorInView
impl UnwindSafe for KeepCursorInView
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