pub struct MassPropertiesCache {
pub entry: Cell<Option<(FaceSetIdentity, MassProperties)>>,
}Expand description
A bounded, per-solid memo for exact area and volume. Geometry edits are detected by the face-set content identity; callers never invalidate it. The contents are private so external code cannot supply a fabricated result.
Fields§
§entry: Cell<Option<(FaceSetIdentity, MassProperties)>>Trait Implementations§
Source§impl Clone for MassPropertiesCache
impl Clone for MassPropertiesCache
Source§fn clone(&self) -> MassPropertiesCache
fn clone(&self) -> MassPropertiesCache
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 moreSource§impl Debug for MassPropertiesCache
impl Debug for MassPropertiesCache
Source§impl Default for MassPropertiesCache
impl Default for MassPropertiesCache
Source§fn default() -> MassPropertiesCache
fn default() -> MassPropertiesCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for MassPropertiesCache
impl !RefUnwindSafe for MassPropertiesCache
impl !Sync for MassPropertiesCache
impl Forget for MassPropertiesCache
impl Move for MassPropertiesCache
impl Send for MassPropertiesCache
impl Unpin for MassPropertiesCache
impl UnsafeUnpin for MassPropertiesCache
impl UnwindSafe for MassPropertiesCache
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