pub struct MinimapFrame {
pub x: f32,
pub width: f32,
pub row_height: f32,
pub blocks: Vec<MinimapBlock>,
pub slider: Rect,
}Expand description
The minimap: the document at a small scale beside the text, each char a block of colour, with a slider over the part the viewport shows.
Fields§
§x: f32Left edge and width of the minimap column.
width: f32§row_height: f32Height of one row of text.
blocks: Vec<MinimapBlock>§slider: RectTrait Implementations§
Source§impl Clone for MinimapFrame
impl Clone for MinimapFrame
Source§impl Debug for MinimapFrame
impl Debug for MinimapFrame
Source§impl Default for MinimapFrame
impl Default for MinimapFrame
Source§impl PartialEq for MinimapFrame
impl PartialEq for MinimapFrame
impl StructuralPartialEq for MinimapFrame
Auto Trait Implementations§
impl Forget for MinimapFrame
impl Freeze for MinimapFrame
impl Move for MinimapFrame
impl RefUnwindSafe for MinimapFrame
impl Send for MinimapFrame
impl Sync for MinimapFrame
impl Unpin for MinimapFrame
impl UnsafeUnpin for MinimapFrame
impl UnwindSafe for MinimapFrame
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