Struct robot_description_builder::Chained
source · pub struct Chained<Builder: ChainableBuilder>(/* private fields */);
Expand description
A Wrapper to indicate if the current builder is a chain.
TODO: EXPAND
Implementations§
source§impl Chained<JointBuilder>
impl Chained<JointBuilder>
sourcepub fn mirror(&self, axis: MirrorAxis) -> Chained<JointBuilder>
pub fn mirror(&self, axis: MirrorAxis) -> Chained<JointBuilder>
TODO: TEST TODO: DOC
source§impl Chained<LinkBuilder>
impl Chained<LinkBuilder>
sourcepub fn mirror(&self, axis: MirrorAxis) -> Chained<LinkBuilder>
pub fn mirror(&self, axis: MirrorAxis) -> Chained<LinkBuilder>
TODO: More tests TODO: DOC
Trait Implementations§
source§impl<JointB, LinkB> From<(JointB, LinkB)> for Chained<JointBuilder>
impl<JointB, LinkB> From<(JointB, LinkB)> for Chained<JointBuilder>
source§fn from(value: (JointB, LinkB)) -> Self
fn from(value: (JointB, LinkB)) -> Self
Converts to this type from the input type.
source§impl From<Chained<LinkBuilder>> for LinkBuilder
impl From<Chained<LinkBuilder>> for LinkBuilder
source§fn from(value: Chained<LinkBuilder>) -> Self
fn from(value: Chained<LinkBuilder>) -> Self
Converts to this type from the input type.
source§impl<KI> From<KI> for Chained<LinkBuilder>where
KI: KinematicInterface,
impl<KI> From<KI> for Chained<LinkBuilder>where
KI: KinematicInterface,
source§impl From<LinkBuilder> for Chained<LinkBuilder>
impl From<LinkBuilder> for Chained<LinkBuilder>
Since Link’s can end a chain, a LinkBuilder
can always be converted to a Chained<LinkBuilder>
.
source§fn from(value: LinkBuilder) -> Self
fn from(value: LinkBuilder) -> Self
Converts to this type from the input type.
source§impl<Builder: PartialEq + ChainableBuilder> PartialEq for Chained<Builder>
impl<Builder: PartialEq + ChainableBuilder> PartialEq for Chained<Builder>
impl<Builder: ChainableBuilder> StructuralPartialEq for Chained<Builder>
Auto Trait Implementations§
impl<Builder> RefUnwindSafe for Chained<Builder>where
Builder: RefUnwindSafe,
impl<Builder> Send for Chained<Builder>where
Builder: Send,
impl<Builder> Sync for Chained<Builder>where
Builder: Sync,
impl<Builder> Unpin for Chained<Builder>where
Builder: Unpin,
impl<Builder> UnwindSafe for Chained<Builder>where
Builder: UnwindSafe,
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
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§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 more§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).§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.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.