pub struct Item {
pub real: Point,
pub ghost: Option<Point>,
pub part: Part,
}Expand description
Fields§
§real: PointThe real Point
ghost: Option<Point>If there are multiple Ghosts in the same byte, 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 byte.
part: PartImplementations§
Trait Implementations§
impl Copy for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
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