pub struct Quad {
    pub bounds: Rectangle,
    pub border: Border,
    pub shadow: Shadow,
    pub snap: bool,
}Expand description
A polygon with four sides.
Fields§
§bounds: RectangleThe bounds of the Quad.
border: Border§shadow: Shadow§snap: boolWhether the Quad should be snapped to the pixel grid.
Trait Implementations§
impl Copy for Quad
impl StructuralPartialEq for Quad
Auto Trait Implementations§
impl Freeze for Quad
impl RefUnwindSafe for Quad
impl Send for Quad
impl Sync for Quad
impl Unpin for Quad
impl UnwindSafe for Quad
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