Struct k::LinkBuilder[][src]

pub struct LinkBuilder<T: Real> { /* fields omitted */ }

Build a Link<T>

Examples

extern crate nalgebra as na;
extern crate k;
let l0 = k::LinkBuilder::new()
    .name("link1")
    .translation(na::Translation3::new(0.0, 0.1, 0.0))
    .joint("link_pitch", k::JointType::Rotational{axis: na::Vector3::y_axis()}, None)
    .finalize();
println!("{:?}", l0);

Methods

impl<T> LinkBuilder<T> where
    T: Real, 
[src]

Trait Implementations

impl<T: Debug + Real> Debug for LinkBuilder<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Clone + Real> Clone for LinkBuilder<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Default for LinkBuilder<T> where
    T: Real, 
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<T> Send for LinkBuilder<T> where
    T: Scalar

impl<T> Sync for LinkBuilder<T> where
    T: Scalar