Struct dis_rs::ArticulatedPart
source · pub struct ArticulatedPart {
pub change_indicator: ChangeIndicator,
pub attachment_id: u16,
pub type_metric: ArticulatedPartsTypeMetric,
pub type_class: ArticulatedPartsTypeClass,
pub parameter_value: f32,
}Fields§
§change_indicator: ChangeIndicator§attachment_id: u16§type_metric: ArticulatedPartsTypeMetric§type_class: ArticulatedPartsTypeClass§parameter_value: f32Implementations§
source§impl ArticulatedPart
impl ArticulatedPart
pub fn with_change_indicator(self, change_indicator: ChangeIndicator) -> Self
pub fn with_attachment_id(self, attachment_id: u16) -> Self
pub fn with_type_metric(self, type_metric: ArticulatedPartsTypeMetric) -> Self
pub fn with_type_class(self, type_class: ArticulatedPartsTypeClass) -> Self
pub fn with_parameter_value(self, parameter_value: f32) -> Self
pub fn to_variable_parameter(self) -> VariableParameter
Trait Implementations§
source§impl Clone for ArticulatedPart
impl Clone for ArticulatedPart
source§fn clone(&self) -> ArticulatedPart
fn clone(&self) -> ArticulatedPart
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 ArticulatedPart
impl Debug for ArticulatedPart
source§impl Default for ArticulatedPart
impl Default for ArticulatedPart
source§fn default() -> ArticulatedPart
fn default() -> ArticulatedPart
Returns the “default value” for a type. Read more
impl Copy for ArticulatedPart
Auto Trait Implementations§
impl RefUnwindSafe for ArticulatedPart
impl Send for ArticulatedPart
impl Sync for ArticulatedPart
impl Unpin for ArticulatedPart
impl UnwindSafe for ArticulatedPart
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