pub struct PathTexture {
pub id: ImageId,
pub w: u32,
pub h: u32,
pub rgba: Arc<Vec<u8>>,
/* private fields */
}Expand description
A mask drawn from a texture of its own rather than the atlas (ADR 0040, decisions 7 and 8): the handle the backend caches it under, and the pixels it uploads from.
Fields§
§id: ImageId§w: u32§h: u32§rgba: Arc<Vec<u8>>Auto Trait Implementations§
impl Freeze for PathTexture
impl RefUnwindSafe for PathTexture
impl Send for PathTexture
impl Sync for PathTexture
impl Unpin for PathTexture
impl UnsafeUnpin for PathTexture
impl UnwindSafe for PathTexture
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