pub struct RotaryAxis {
pub name: String,
pub direction: Point3,
pub origin: Point3,
pub limits_deg: Option<[f64; 2]>,
}Expand description
A rotary axis: its name, direction and pivot in machine coordinates.
Fields§
§name: StringAxis letter the post emits (A, B, C).
direction: Point3Unit direction of the rotation axis.
origin: Point3A point on the axis.
limits_deg: Option<[f64; 2]>Angular limits in degrees (None: continuous).
Implementations§
Trait Implementations§
Source§impl Clone for RotaryAxis
impl Clone for RotaryAxis
Source§impl Debug for RotaryAxis
impl Debug for RotaryAxis
Source§impl<'de> Deserialize<'de> for RotaryAxis
impl<'de> Deserialize<'de> for RotaryAxis
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 RotaryAxis
impl PartialEq for RotaryAxis
Source§impl Serialize for RotaryAxis
impl Serialize for RotaryAxis
impl StructuralPartialEq for RotaryAxis
Auto Trait Implementations§
impl Forget for RotaryAxis
impl Freeze for RotaryAxis
impl Move for RotaryAxis
impl RefUnwindSafe for RotaryAxis
impl Send for RotaryAxis
impl Sync for RotaryAxis
impl Unpin for RotaryAxis
impl UnsafeUnpin for RotaryAxis
impl UnwindSafe for RotaryAxis
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