pub struct CuTwist6D {
pub linear: [Velocity; 3],
pub angular: [AngularVelocity; 3],
pub frame: CuTwistFrame,
}Expand description
6D spatial velocity (linear + angular twist) payload with explicit frame semantics.
Fields§
§linear: [Velocity; 3]Linear velocity of the tool origin.
angular: [AngularVelocity; 3]Angular velocity.
frame: CuTwistFrameFrame both vectors are expressed in.
Implementations§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for CuTwist6D
impl<'__de, __Context> BorrowDecode<'__de, __Context> for CuTwist6D
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
impl Copy for CuTwist6D
Source§impl<'de> Deserialize<'de> for CuTwist6D
impl<'de> Deserialize<'de> for CuTwist6D
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
impl StructuralPartialEq for CuTwist6D
Auto Trait Implementations§
impl Freeze for CuTwist6D
impl RefUnwindSafe for CuTwist6D
impl Send for CuTwist6D
impl Sync for CuTwist6D
impl Unpin for CuTwist6D
impl UnsafeUnpin for CuTwist6D
impl UnwindSafe for CuTwist6D
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CuMsgPayload for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ElementType for T
impl<T> ElementType for T
impl<T> GetTypeRegistration for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more