pub struct CompoundCapsule {
pub capsule: Capsule,
pub material_index: i32,
}Expand description
Capsule child returned from a compound.
Fields§
§capsule: CapsuleCapsule geometry.
material_index: i32Index into the compound material table.
Trait Implementations§
Source§impl Clone for CompoundCapsule
impl Clone for CompoundCapsule
Source§fn clone(&self) -> CompoundCapsule
fn clone(&self) -> CompoundCapsule
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 CompoundCapsule
Source§impl Debug for CompoundCapsule
impl Debug for CompoundCapsule
Source§impl PartialEq for CompoundCapsule
impl PartialEq for CompoundCapsule
Source§fn eq(&self, other: &CompoundCapsule) -> bool
fn eq(&self, other: &CompoundCapsule) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CompoundCapsule
Auto Trait Implementations§
impl Freeze for CompoundCapsule
impl RefUnwindSafe for CompoundCapsule
impl Send for CompoundCapsule
impl Sync for CompoundCapsule
impl Unpin for CompoundCapsule
impl UnsafeUnpin for CompoundCapsule
impl UnwindSafe for CompoundCapsule
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