pub enum Position {
Physical(PhysicalPosition),
Logical(LogicalPosition),
}
Variants§
Physical(PhysicalPosition)
Logical(LogicalPosition)
Trait Implementations§
source§impl From<LogicalPosition> for Position
impl From<LogicalPosition> for Position
source§fn from(pos: LogicalPosition) -> Self
fn from(pos: LogicalPosition) -> Self
Converts to this type from the input type.
source§impl From<PhysicalPosition> for Position
impl From<PhysicalPosition> for Position
source§fn from(pos: PhysicalPosition) -> Self
fn from(pos: PhysicalPosition) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Position
Auto Trait Implementations§
impl Freeze for Position
impl RefUnwindSafe for Position
impl !Send for Position
impl !Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)