pub struct BodyMateriality {
pub has_loop: bool,
pub has_dynamic_allocation: bool,
pub call_count: u64,
}Expand description
Material operations shared by every member of a structural clone group.
Fields§
§has_loop: boolEvery member contains at least one loop.
has_dynamic_allocation: boolEvery member calls a recognised allocation API.
call_count: u64Fewest recovered call sites in any member.
Trait Implementations§
Source§impl Clone for BodyMateriality
impl Clone for BodyMateriality
Source§fn clone(&self) -> BodyMateriality
fn clone(&self) -> BodyMateriality
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 BodyMateriality
Source§impl Debug for BodyMateriality
impl Debug for BodyMateriality
impl Eq for BodyMateriality
Source§impl PartialEq for BodyMateriality
impl PartialEq for BodyMateriality
impl StructuralPartialEq for BodyMateriality
Auto Trait Implementations§
impl Freeze for BodyMateriality
impl RefUnwindSafe for BodyMateriality
impl Send for BodyMateriality
impl Sync for BodyMateriality
impl Unpin for BodyMateriality
impl UnsafeUnpin for BodyMateriality
impl UnwindSafe for BodyMateriality
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.