pub struct CompoundCapsule {
pub capsule: Capsule,
pub material_index: i32,
}Expand description
A capsule that lives in a compound. (b3CompoundCapsule)
Fields§
§capsule: Capsule§material_index: i32Trait 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 Default for CompoundCapsule
impl Default for CompoundCapsule
Source§fn default() -> CompoundCapsule
fn default() -> CompoundCapsule
Returns the “default value” for a type. Read more
Source§impl PartialEq for CompoundCapsule
impl PartialEq for CompoundCapsule
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