Struct drs_0x01::MessageBuilder [−][src]
pub struct MessageBuilder {}
This struct allows you to build message to directly speak to the herkulex servomotors.
Methods
impl MessageBuilder
[src]
impl MessageBuilder
pub fn new() -> MessageBuilder
[src]
pub fn new() -> MessageBuilder
Create a new message builder
pub fn new_with_id(id: u8) -> MessageBuilderCmd
[src]
pub fn new_with_id(id: u8) -> MessageBuilderCmd
Create a new message builder with a preassigned ID.
pub fn id(self, id: u8) -> MessageBuilderCmd
[src]
pub fn id(self, id: u8) -> MessageBuilderCmd
Set the message ID to choose the servo
Auto Trait Implementations
impl Send for MessageBuilder
impl Send for MessageBuilder
impl Sync for MessageBuilder
impl Sync for MessageBuilder