Struct crabgrab::feature::bitmap::PooledBitmap
source · pub struct PooledBitmap<T: Sized + Copy + Zeroable> {
pub width: usize,
pub height: usize,
/* private fields */
}
Expand description
A pooled bitmap, belinging to it’s creator BitmapPool. When this bitmap is dropped, it will be returned to it’s pool.
Fields§
§width: usize
§height: usize
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for PooledBitmap<T>
impl<T> !RefUnwindSafe for PooledBitmap<T>
impl<T> Send for PooledBitmap<T>where
T: Send,
impl<T> Sync for PooledBitmap<T>
impl<T> Unpin for PooledBitmap<T>
impl<T> !UnwindSafe for PooledBitmap<T>
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