Enum piston_window::rectangle::Shape
source · [−]Expand description
The shape of the rectangle corners
Variants
Square
Square corners
Round(f64, u32)
Round corners, with resolution per corner.
Bevel(f64)
Bevel corners
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Shape
impl Send for Shape
impl Sync for Shape
impl Unpin for Shape
impl UnwindSafe for Shape
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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