pub struct Quad {
pub bounds: Rectangle,
pub border: Border,
pub shadow: Shadow,
}
Expand description
A polygon with four sides.
Fields§
§bounds: Rectangle
The bounds of the Quad
.
border: Border
§shadow: Shadow
Trait Implementations§
source§impl PartialEq for Quad
impl PartialEq for Quad
impl Copy for Quad
impl StructuralPartialEq for Quad
Auto Trait Implementations§
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