pub struct IconGrid {
pub monitor_id: String,
pub work_area: Rect,
pub icon_size: Point,
pub cell_size: Point,
pub origin: Option<Point>,
pub origin_inferred: bool,
pub columns: u32,
pub rows: u32,
}Expand description
One monitor’s icon grid. origin is the first usable icon-position anchor,
not the bitmap or label corner. Cell size includes icon/label spacing.
An unavailable origin has zero rows/columns and cannot be used for snapping.
Fields§
§monitor_id: String§work_area: Rect§icon_size: Point§cell_size: Point§origin: Option<Point>§origin_inferred: bool§columns: u32§rows: u32Implementations§
Trait Implementations§
impl Eq for IconGrid
impl StructuralPartialEq for IconGrid
Auto Trait Implementations§
impl Freeze for IconGrid
impl RefUnwindSafe for IconGrid
impl Send for IconGrid
impl Sync for IconGrid
impl Unpin for IconGrid
impl UnsafeUnpin for IconGrid
impl UnwindSafe for IconGrid
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