Struct dae_parser::RigidConstraint
source · [−]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
sourceimpl Clone for RigidConstraint
impl Clone for RigidConstraint
sourcefn clone(&self) -> RigidConstraint
fn clone(&self) -> RigidConstraint
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for RigidConstraint
impl Send for RigidConstraint
impl Sync for RigidConstraint
impl Unpin for RigidConstraint
impl UnwindSafe for RigidConstraint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more