pub struct Argmax2D { /* private fields */ }Implementations§
Source§impl Argmax2D
impl Argmax2D
pub fn new(resolution: u64, chunk_size: u64) -> Result<Self>
pub fn resolution(&self) -> u64
pub fn insert_sdf( &mut self, sdf: impl Fn(Point2D<f32, WorldSpace>) -> f32 + Sync + Send, )
pub fn insert_sdf_domain( &mut self, domain: Rect<f32, WorldSpace>, sdf: impl Fn(Point2D<f32, WorldSpace>) -> f32 + Sync + Send, )
Auto Trait Implementations§
impl Freeze for Argmax2D
impl RefUnwindSafe for Argmax2D
impl Send for Argmax2D
impl Sync for Argmax2D
impl Unpin for Argmax2D
impl UnwindSafe for Argmax2D
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