#[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_: ConstraintType§enabled: bool§was_enabled: bool§_padding_226: [c_char; 2]§blend_time: f32§blend: f32§constrained_entity: EntityT§constrained_node_idx: u32§_padding_239: [c_char; 4]§goal_entity: EntityT§goal_node_idx: u32§_padding_246: [c_char; 4]§goal_position: Vec3T§match_rotation: bool§_padding_254: [c_char; 3]§goal_rotation: Vec4T§__bindgen_anon_1: ConstraintComponentTBindgenTy1Trait Implementations§
Auto Trait Implementations§
impl !Send for ConstraintComponentT
impl !Sync for ConstraintComponentT
impl Freeze for ConstraintComponentT
impl RefUnwindSafe for ConstraintComponentT
impl Unpin for ConstraintComponentT
impl UnsafeUnpin for ConstraintComponentT
impl UnwindSafe for ConstraintComponentT
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