pub struct LinkGeometry {
pub length: f64,
}Expand description
Minimal geometric properties of a generic link.
Fields§
§length: f64Link length in meters.
Implementations§
Source§impl LinkGeometry
impl LinkGeometry
Sourcepub fn new(length: f64) -> Result<Self, LinkGeometryError>
pub fn new(length: f64) -> Result<Self, LinkGeometryError>
Create generic link geometry from a length in meters.
Trait Implementations§
Source§impl Clone for LinkGeometry
impl Clone for LinkGeometry
Source§fn clone(&self) -> LinkGeometry
fn clone(&self) -> LinkGeometry
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 LinkGeometry
impl Debug for LinkGeometry
Source§impl PartialEq for LinkGeometry
impl PartialEq for LinkGeometry
impl Copy for LinkGeometry
impl StructuralPartialEq for LinkGeometry
Auto Trait Implementations§
impl Freeze for LinkGeometry
impl RefUnwindSafe for LinkGeometry
impl Send for LinkGeometry
impl Sync for LinkGeometry
impl Unpin for LinkGeometry
impl UnsafeUnpin for LinkGeometry
impl UnwindSafe for LinkGeometry
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