pub struct GlassLens {
pub rect: (f32, f32, f32, f32),
pub bar_x: (f32, f32),
pub grip_y: f32,
}Expand description
See SelectionStyle::glass_lens. Plain data, (x, y, w, h) rects.
Fields§
§rect: (f32, f32, f32, f32)§bar_x: (f32, f32)Left and right end-bar center x — the visual cursors, at the pill’s outer edges, always bounding every magnified glyph.
grip_y: f32Grip circle center y — hanging at the pill’s bottom edge, directly under each bar (the lollipop). The engine grabs here too.
Trait Implementations§
impl Copy for GlassLens
impl StructuralPartialEq for GlassLens
Auto Trait Implementations§
impl Freeze for GlassLens
impl RefUnwindSafe for GlassLens
impl Send for GlassLens
impl Sync for GlassLens
impl Unpin for GlassLens
impl UnsafeUnpin for GlassLens
impl UnwindSafe for GlassLens
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