pub struct IconInst {
pub pos: PointPx,
pub size: Px,
pub icon: u16,
pub color: Rgba,
}Expand description
A marker icon from the built-in set: the ICON_* constants
of crate::transform_helpers, drawn with
crate::transform_helpers::icon_coverage.
Fields§
§pos: PointPxCenter.
size: PxWidth and height.
icon: u16Icon number (transform_helpers::ICON_*).
color: RgbaTint color.
Trait Implementations§
impl Copy for IconInst
impl StructuralPartialEq for IconInst
Auto Trait Implementations§
impl Forget for IconInst
impl Freeze for IconInst
impl Move for IconInst
impl RefUnwindSafe for IconInst
impl Send for IconInst
impl Sync for IconInst
impl Unpin for IconInst
impl UnsafeUnpin for IconInst
impl UnwindSafe for IconInst
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