pub struct Placement2D {
pub tx: i64,
pub ty: i64,
pub angle_deg: f64,
}Expand description
Rigid translation + CCW rotation (+Y up) in whole nanometres.
Fields§
§tx: i64§ty: i64§angle_deg: f64Absolute CCW rotation angle in degrees (+Y up).
Implementations§
Trait Implementations§
Source§impl Clone for Placement2D
impl Clone for Placement2D
Source§fn clone(&self) -> Placement2D
fn clone(&self) -> Placement2D
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 Placement2D
Source§impl Debug for Placement2D
impl Debug for Placement2D
Source§impl<'de> Deserialize<'de> for Placement2D
impl<'de> Deserialize<'de> for Placement2D
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 Placement2D
impl PartialEq for Placement2D
Source§impl Serialize for Placement2D
impl Serialize for Placement2D
impl StructuralPartialEq for Placement2D
Auto Trait Implementations§
impl Freeze for Placement2D
impl RefUnwindSafe for Placement2D
impl Send for Placement2D
impl Sync for Placement2D
impl Unpin for Placement2D
impl UnsafeUnpin for Placement2D
impl UnwindSafe for Placement2D
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