pub struct CompoundCapsuleDef {
pub capsule: Capsule,
pub material: SurfaceMaterial,
}Expand description
Definition for a capsule in a compound shape. (b3CompoundCapsuleDef)
Fields§
§capsule: Capsule§material: SurfaceMaterialTrait Implementations§
Source§impl Clone for CompoundCapsuleDef
impl Clone for CompoundCapsuleDef
Source§fn clone(&self) -> CompoundCapsuleDef
fn clone(&self) -> CompoundCapsuleDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CompoundCapsuleDef
Auto Trait Implementations§
impl Freeze for CompoundCapsuleDef
impl RefUnwindSafe for CompoundCapsuleDef
impl Send for CompoundCapsuleDef
impl Sync for CompoundCapsuleDef
impl Unpin for CompoundCapsuleDef
impl UnsafeUnpin for CompoundCapsuleDef
impl UnwindSafe for CompoundCapsuleDef
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