pub struct CircleProfile {
pub radius: Scalar,
pub thickness: Option<Scalar>,
}Expand description
Circle or annulus.
Fields§
§radius: ScalarOuter radius.
thickness: Option<Scalar>Optional wall thickness. None denotes a filled disk.
Trait Implementations§
Source§impl Clone for CircleProfile
impl Clone for CircleProfile
Source§fn clone(&self) -> CircleProfile
fn clone(&self) -> CircleProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CircleProfile
Source§impl Debug for CircleProfile
impl Debug for CircleProfile
Source§impl<'de> Deserialize<'de> for CircleProfile
impl<'de> Deserialize<'de> for CircleProfile
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 CircleProfile
impl PartialEq for CircleProfile
Source§impl Serialize for CircleProfile
impl Serialize for CircleProfile
impl StructuralPartialEq for CircleProfile
Auto Trait Implementations§
impl Freeze for CircleProfile
impl RefUnwindSafe for CircleProfile
impl Send for CircleProfile
impl Sync for CircleProfile
impl Unpin for CircleProfile
impl UnsafeUnpin for CircleProfile
impl UnwindSafe for CircleProfile
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