#[non_exhaustive]pub enum JointPositionLimiterStrategy {
Clamp,
ClampWithWarn,
Error,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Clamp
If the position is out of the limit, handle it as the same value as the limit.
ClampWithWarn
If the position is out of the limit, handle it as the same value as the limit with warning.
Error
If the position is out of the limit, return an error.
Trait Implementations§
source§impl Clone for JointPositionLimiterStrategy
impl Clone for JointPositionLimiterStrategy
source§fn clone(&self) -> JointPositionLimiterStrategy
fn clone(&self) -> JointPositionLimiterStrategy
Returns a copy 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 JointPositionLimiterStrategy
impl Debug for JointPositionLimiterStrategy
source§impl Default for JointPositionLimiterStrategy
impl Default for JointPositionLimiterStrategy
source§fn default() -> JointPositionLimiterStrategy
fn default() -> JointPositionLimiterStrategy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for JointPositionLimiterStrategy
impl<'de> Deserialize<'de> for JointPositionLimiterStrategy
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 JsonSchema for JointPositionLimiterStrategy
impl JsonSchema for JointPositionLimiterStrategy
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for JointPositionLimiterStrategy
impl PartialEq for JointPositionLimiterStrategy
source§fn eq(&self, other: &JointPositionLimiterStrategy) -> bool
fn eq(&self, other: &JointPositionLimiterStrategy) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for JointPositionLimiterStrategy
impl Eq for JointPositionLimiterStrategy
impl StructuralPartialEq for JointPositionLimiterStrategy
Auto Trait Implementations§
impl Freeze for JointPositionLimiterStrategy
impl RefUnwindSafe for JointPositionLimiterStrategy
impl Send for JointPositionLimiterStrategy
impl Sync for JointPositionLimiterStrategy
impl Unpin for JointPositionLimiterStrategy
impl UnwindSafe for JointPositionLimiterStrategy
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moresource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.