pub struct Chip {
pub cell: u32,
pub center: f32,
pub open_col: u32,
pub close_col: u32,
}Expand description
One collapsed inline fold’s … chip on a row, in display cells, as named
fields the widget destructures to render and hit-test the chip.
Fields§
§cell: u32The chip’s first display cell (one past the opening bracket).
center: f32The chip’s visual center, in fractional display cells.
open_col: u32Byte column of the opening bracket on its line.
close_col: u32Byte column of the closing bracket on its line.
Trait Implementations§
impl Copy for Chip
impl StructuralPartialEq for Chip
Auto Trait Implementations§
impl Freeze for Chip
impl RefUnwindSafe for Chip
impl Send for Chip
impl Sync for Chip
impl Unpin for Chip
impl UnsafeUnpin for Chip
impl UnwindSafe for Chip
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