Struct me3_framework::overlay::epaint::CircleShape
source · [−]pub struct CircleShape {
pub center: Pos2,
pub radius: f32,
pub fill: Color32,
pub stroke: Stroke,
}
Expand description
How to paint a circle.
Fields
center: Pos2
radius: f32
fill: Color32
stroke: Stroke
Implementations
sourceimpl CircleShape
impl CircleShape
Trait Implementations
sourceimpl Clone for CircleShape
impl Clone for CircleShape
sourcefn clone(&self) -> CircleShape
fn clone(&self) -> CircleShape
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CircleShape
impl Debug for CircleShape
sourceimpl From<CircleShape> for Shape
impl From<CircleShape> for Shape
sourcefn from(shape: CircleShape) -> Shape
fn from(shape: CircleShape) -> Shape
Converts to this type from the input type.
sourceimpl PartialEq<CircleShape> for CircleShape
impl PartialEq<CircleShape> for CircleShape
sourcefn eq(&self, other: &CircleShape) -> bool
fn eq(&self, other: &CircleShape) -> bool
impl Copy for CircleShape
impl StructuralPartialEq for CircleShape
Auto Trait Implementations
impl RefUnwindSafe for CircleShape
impl Send for CircleShape
impl Sync for CircleShape
impl Unpin for CircleShape
impl UnwindSafe for CircleShape
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