pub struct Icon {
pub shapes: &'static [Shape],
}Expand description
A small drawing, in shapes rather than glyphs.
Order matters: shapes are drawn front to back in the order given, so a hole comes after the shape it is punched in.
Fields§
§shapes: &'static [Shape]The polygons, in drawing order.
Implementations§
Trait Implementations§
impl Copy for Icon
impl Eq for Icon
impl StructuralPartialEq for Icon
Auto Trait Implementations§
impl Freeze for Icon
impl RefUnwindSafe for Icon
impl Send for Icon
impl Sync for Icon
impl Unpin for Icon
impl UnsafeUnpin for Icon
impl UnwindSafe for Icon
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