pub struct CircleParams {
pub center_x: i16,
pub center_y: i16,
pub radius: u16,
}Expand description
Parameters defining a circle shape.
Used for circular regions, annotations, or detected circular objects.
Fields§
§center_x: i16X coordinate of the circle center
center_y: i16Y coordinate of the circle center
radius: u16Radius of the circle
Trait Implementations§
Source§impl Clone for CircleParams
impl Clone for CircleParams
Source§fn clone(&self) -> CircleParams
fn clone(&self) -> CircleParams
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 CircleParams
impl Debug for CircleParams
Source§impl<'de> Deserialize<'de> for CircleParams
impl<'de> Deserialize<'de> for CircleParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CircleParams
impl PartialEq for CircleParams
Source§impl Serialize for CircleParams
impl Serialize for CircleParams
impl Eq for CircleParams
impl StructuralPartialEq for CircleParams
Auto Trait Implementations§
impl Freeze for CircleParams
impl RefUnwindSafe for CircleParams
impl Send for CircleParams
impl Sync for CircleParams
impl Unpin for CircleParams
impl UnwindSafe for CircleParams
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