pub struct Rectangular {
pub x: f64,
pub y: f64,
pub hole_diameter: Option<f64>,
}
Fields§
§x: f64
§y: f64
§hole_diameter: Option<f64>
Implementations§
Trait Implementations§
Source§impl Clone for Rectangular
impl Clone for Rectangular
Source§fn clone(&self) -> Rectangular
fn clone(&self) -> Rectangular
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 Rectangular
impl Debug for Rectangular
Source§impl PartialEq for Rectangular
impl PartialEq for Rectangular
impl StructuralPartialEq for Rectangular
Auto Trait Implementations§
impl Freeze for Rectangular
impl RefUnwindSafe for Rectangular
impl Send for Rectangular
impl Sync for Rectangular
impl Unpin for Rectangular
impl UnwindSafe for Rectangular
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