pub struct CuJointResolution {
pub angular: Angle,
pub linear: Length,
}Expand description
Per-joint sampling resolution for discrete collision checks.
Fields§
§angular: Angle§linear: LengthImplementations§
Source§impl CuJointResolution
impl CuJointResolution
Sourcepub fn metric(self) -> CuJointMetric
pub fn metric(self) -> CuJointMetric
Uses the resolution as a joint-space metric.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for CuJointResolution
impl<'__de, __Context> BorrowDecode<'__de, __Context> for CuJointResolution
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.
Source§impl Clone for CuJointResolution
impl Clone for CuJointResolution
Source§fn clone(&self) -> CuJointResolution
fn clone(&self) -> CuJointResolution
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 CuJointResolution
Source§impl Debug for CuJointResolution
impl Debug for CuJointResolution
Source§impl<__Context> Decode<__Context> for CuJointResolution
impl<__Context> Decode<__Context> for CuJointResolution
Source§impl Default for CuJointResolution
impl Default for CuJointResolution
Source§impl<'de> Deserialize<'de> for CuJointResolution
impl<'de> Deserialize<'de> for CuJointResolution
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 Encode for CuJointResolution
impl Encode for CuJointResolution
Source§impl From<Angle> for CuJointResolution
impl From<Angle> for CuJointResolution
Source§impl PartialEq for CuJointResolution
impl PartialEq for CuJointResolution
Source§impl Serialize for CuJointResolution
impl Serialize for CuJointResolution
impl StructuralPartialEq for CuJointResolution
Source§impl TypePath for CuJointResolution
impl TypePath for CuJointResolution
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
Auto Trait Implementations§
impl Freeze for CuJointResolution
impl RefUnwindSafe for CuJointResolution
impl Send for CuJointResolution
impl Sync for CuJointResolution
impl Unpin for CuJointResolution
impl UnsafeUnpin for CuJointResolution
impl UnwindSafe for CuJointResolution
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