pub struct SixDofDhFixture {
pub description: String,
pub dh_convention: String,
pub dh_params: Vec<[f64; 4]>,
pub cases: Vec<SixDofCase>,
}Fields§
§description: String§dh_convention: String§dh_params: Vec<[f64; 4]>§cases: Vec<SixDofCase>Implementations§
Source§impl SixDofDhFixture
impl SixDofDhFixture
Sourcepub fn to_chain_spec<T: NabledReal>(&self) -> Result<ChainSpec<T>, ModelError>
pub fn to_chain_spec<T: NabledReal>(&self) -> Result<ChainSpec<T>, ModelError>
Build a kinematic ChainSpec from fixture DH parameters.
Sourcepub fn from_file(path: &str) -> Result<Self, ModelError>
pub fn from_file(path: &str) -> Result<Self, ModelError>
Load fixture from JSON file path.
Trait Implementations§
Source§impl Debug for SixDofDhFixture
impl Debug for SixDofDhFixture
Source§impl<'de> Deserialize<'de> for SixDofDhFixture
impl<'de> Deserialize<'de> for SixDofDhFixture
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
Auto Trait Implementations§
impl Freeze for SixDofDhFixture
impl RefUnwindSafe for SixDofDhFixture
impl Send for SixDofDhFixture
impl Sync for SixDofDhFixture
impl Unpin for SixDofDhFixture
impl UnsafeUnpin for SixDofDhFixture
impl UnwindSafe for SixDofDhFixture
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