pub struct Robot {
pub name: String,
pub links: Vec<Link>,
pub joints: Vec<Joint>,
pub materials: Vec<Material>,
}
Expand description
Top level struct to access urdf.
Fields§
§name: String
§links: Vec<Link>
§joints: Vec<Joint>
§materials: Vec<Material>
Trait Implementations§
source§impl YaDeserialize for Robot
impl YaDeserialize for Robot
fn deserialize<R: Read>(reader: &mut Deserializer<R>) -> Result<Self, String>
source§impl YaSerialize for Robot
impl YaSerialize for Robot
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>
Auto Trait Implementations§
impl RefUnwindSafe for Robot
impl Send for Robot
impl Sync for Robot
impl Unpin for Robot
impl UnwindSafe for Robot
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