pub struct TextPlace<'t> {
pub real: Point,
pub ghost: Option<Point>,
pub part: TextPart<'t>,
}Expand description
Fields§
§real: PointThe real Point.
ghost: Option<Point>If there are multiple Ghosts in the same character, this
Point will point to a sum of the previous Text’s
lengths plus the position on this specific Ghost, so
every Point should point to a specific position in a char.
part: TextPart<'t>A [TextPart], which will either be a char or a Tag;
Implementations§
Trait Implementations§
impl<'t> Copy for TextPlace<'t>
Auto Trait Implementations§
impl<'t> Freeze for TextPlace<'t>
impl<'t> !RefUnwindSafe for TextPlace<'t>
impl<'t> Send for TextPlace<'t>
impl<'t> Sync for TextPlace<'t>
impl<'t> Unpin for TextPlace<'t>
impl<'t> UnsafeUnpin for TextPlace<'t>
impl<'t> !UnwindSafe for TextPlace<'t>
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