#[repr(C)]pub struct ShapeCircle {
pub center: ShapePoint,
pub radius: f32,
}Expand description
A circle shape defined by center point and radius
Fields§
§center: ShapePoint§radius: f32Trait Implementations§
Source§impl Clone for ShapeCircle
impl Clone for ShapeCircle
Source§fn clone(&self) -> ShapeCircle
fn clone(&self) -> ShapeCircle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShapeCircle
impl Debug for ShapeCircle
Source§impl Hash for ShapeCircle
impl Hash for ShapeCircle
Source§impl Ord for ShapeCircle
impl Ord for ShapeCircle
Source§impl PartialEq for ShapeCircle
impl PartialEq for ShapeCircle
Source§impl PartialOrd for ShapeCircle
impl PartialOrd for ShapeCircle
impl Eq for ShapeCircle
impl StructuralPartialEq for ShapeCircle
Auto Trait Implementations§
impl Freeze for ShapeCircle
impl RefUnwindSafe for ShapeCircle
impl Send for ShapeCircle
impl Sync for ShapeCircle
impl Unpin for ShapeCircle
impl UnwindSafe for ShapeCircle
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