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: Attachmentattachment: Attachmentcommon: RigidConstraintCommonSpecifies 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 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more