pub struct Grid {
pub id: Id,
pub scroll_delta: i32,
pub dirty: DirtyFlags,
/* private fields */
}Fields§
§id: Id§scroll_delta: i32§dirty: DirtyFlagsImplementations§
Source§impl Grid
impl Grid
pub fn new(id: Id) -> Self
pub fn contents(&self) -> &GridContents
pub fn contents_mut(&mut self) -> &mut GridContents
pub fn window(&self) -> &Window
pub fn window_mut(&mut self) -> &mut Window
Sourcepub fn clear_dirty(&mut self)
pub fn clear_dirty(&mut self)
Reset dirty flags and scroll delta
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Grid
impl RefUnwindSafe for Grid
impl Send for Grid
impl Sync for Grid
impl Unpin for Grid
impl UnwindSafe for Grid
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