pub struct DensityFieldBox(/* private fields */);Implementations§
Source§impl DensityFieldBox
impl DensityFieldBox
pub fn new(field: impl DensityField + 'static) -> Self
pub fn as_any(&self) -> &dyn Any
pub fn as_any_mut(&mut self) -> &mut dyn Any
Trait Implementations§
Source§impl Deref for DensityFieldBox
impl Deref for DensityFieldBox
Auto Trait Implementations§
impl Freeze for DensityFieldBox
impl !RefUnwindSafe for DensityFieldBox
impl Send for DensityFieldBox
impl Sync for DensityFieldBox
impl Unpin for DensityFieldBox
impl UnsafeUnpin for DensityFieldBox
impl !UnwindSafe for DensityFieldBox
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