Struct machinery_api::plugins::entity::ConstraintComponentT[][src]

#[repr(C)]
pub struct ConstraintComponentT {
Show 17 fields pub type_: ConstraintType, pub enabled: bool, pub was_enabled: bool, pub _padding_226: [c_char; 2], pub blend_time: f32, pub blend: f32, pub constrained_entity: EntityT, pub constrained_node_idx: u32, pub _padding_239: [c_char; 4], pub goal_entity: EntityT, pub goal_node_idx: u32, pub _padding_246: [c_char; 4], pub goal_position: Vec3T, pub match_rotation: bool, pub _padding_254: [c_char; 3], pub goal_rotation: Vec4T, pub __bindgen_anon_1: ConstraintComponentTBindgenTy1,
}

Fields

type_: ConstraintTypeenabled: boolwas_enabled: bool_padding_226: [c_char; 2]blend_time: f32blend: f32constrained_entity: EntityTconstrained_node_idx: u32_padding_239: [c_char; 4]goal_entity: EntityTgoal_node_idx: u32_padding_246: [c_char; 4]goal_position: Vec3Tmatch_rotation: bool_padding_254: [c_char; 3]goal_rotation: Vec4T__bindgen_anon_1: ConstraintComponentTBindgenTy1

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.