Struct ori_graphics::TextHit
source · pub struct TextHit {
pub inside: bool,
pub index: usize,
pub delta: Vec2,
}
Fields§
§inside: bool
§index: usize
§delta: Vec2
Trait Implementations§
source§impl PartialEq<TextHit> for TextHit
impl PartialEq<TextHit> for TextHit
impl Copy for TextHit
impl StructuralPartialEq for TextHit
Auto Trait Implementations§
impl RefUnwindSafe for TextHit
impl Send for TextHit
impl Sync for TextHit
impl Unpin for TextHit
impl UnwindSafe for TextHit
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