pub struct ArrayStorage<const MAX_BAND: usize = 512, const MAX_CELLS: usize = 1024> { /* private fields */ }Implementations§
Source§impl<const MAX_BAND: usize, const MAX_CELLS: usize> ArrayStorage<MAX_BAND, MAX_CELLS>
impl<const MAX_BAND: usize, const MAX_CELLS: usize> ArrayStorage<MAX_BAND, MAX_CELLS>
pub fn new(min: FixedPoint, max: FixedPoint) -> Self
Trait Implementations§
Source§impl<const MAX_BAND: usize, const MAX_CELLS: usize> Rastive for ArrayStorage<MAX_BAND, MAX_CELLS>
impl<const MAX_BAND: usize, const MAX_CELLS: usize> Rastive for ArrayStorage<MAX_BAND, MAX_CELLS>
Source§fn reset(&mut self, min: FixedPoint, max: FixedPoint)
fn reset(&mut self, min: FixedPoint, max: FixedPoint)
Resets the rasterizer with new bounds.
Source§fn bounds(&self) -> (FixedPoint, FixedPoint)
fn bounds(&self) -> (FixedPoint, FixedPoint)
Gets the current bounds of the rasterizer.
Auto Trait Implementations§
impl<const MAX_BAND: usize, const MAX_CELLS: usize> Freeze for ArrayStorage<MAX_BAND, MAX_CELLS>
impl<const MAX_BAND: usize, const MAX_CELLS: usize> RefUnwindSafe for ArrayStorage<MAX_BAND, MAX_CELLS>
impl<const MAX_BAND: usize, const MAX_CELLS: usize> Send for ArrayStorage<MAX_BAND, MAX_CELLS>
impl<const MAX_BAND: usize, const MAX_CELLS: usize> Sync for ArrayStorage<MAX_BAND, MAX_CELLS>
impl<const MAX_BAND: usize, const MAX_CELLS: usize> Unpin for ArrayStorage<MAX_BAND, MAX_CELLS>
impl<const MAX_BAND: usize, const MAX_CELLS: usize> UnsafeUnpin for ArrayStorage<MAX_BAND, MAX_CELLS>
impl<const MAX_BAND: usize, const MAX_CELLS: usize> UnwindSafe for ArrayStorage<MAX_BAND, MAX_CELLS>
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