pub struct RigidConstraint {
pub sid: Option<String>,
pub name: Option<String>,
pub ref_attachment: Attachment,
pub attachment: Attachment,
pub common: RigidConstraintCommon,
pub technique: Vec<Technique>,
pub extra: Vec<Extra>,
}
Expand description
Connects components, such as RigidBody
, into complex physics models with moveable parts.
Fields§
§sid: Option<String>
A text string containing the scoped identifier of the RigidConstraint
element. This value must be unique within the scope of the parent element.
name: Option<String>
The text string name of this element.
ref_attachment: Attachment
§attachment: Attachment
§common: RigidConstraintCommon
Specifies rigid-constraint information for the common profile that all COLLADA implementations must support.
technique: Vec<Technique>
Declares the information used to process some portion of the content. (optional)
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations§
Trait Implementations§
Source§impl Clone for RigidConstraint
impl Clone for RigidConstraint
Source§fn clone(&self) -> RigidConstraint
fn clone(&self) -> RigidConstraint
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 moreAuto Trait Implementations§
impl Freeze for RigidConstraint
impl RefUnwindSafe for RigidConstraint
impl Send for RigidConstraint
impl Sync for RigidConstraint
impl Unpin for RigidConstraint
impl UnwindSafe for RigidConstraint
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