Struct piston_window::rectangle::Border
source · Expand description
The border of the rectangle
Fields
color: [f32; 4]
The color of the border
radius: f64
The radius of the border. The half-width of the line by which border is drawn.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Border
impl Send for Border
impl Sync for Border
impl Unpin for Border
impl UnwindSafe for Border
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more