pub struct DirectGpuAtlasUpload { /* private fields */ }Expand description
Packed R8 monochrome glyph atlas or RGBA8 image texture sheet ready for direct GLES 3.0 or Metal upload.
Implementations§
Source§impl DirectGpuAtlasUpload
impl DirectGpuAtlasUpload
pub fn get_width(&self) -> u32
pub fn get_mut_width(&mut self) -> &mut u32
pub fn set_width(&mut self, val: u32) -> &mut Self
pub fn get_height(&self) -> u32
pub fn get_mut_height(&mut self) -> &mut u32
pub fn set_height(&mut self, val: u32) -> &mut Self
pub fn get_revision(&self) -> u64
pub fn get_mut_revision(&mut self) -> &mut u64
pub fn set_revision(&mut self, val: u64) -> &mut Self
pub fn get_pixels(&self) -> &Vec<u8> ⓘ
pub fn get_mut_pixels(&mut self) -> &mut Vec<u8> ⓘ
pub fn set_pixels(&mut self, val: Vec<u8>) -> &mut Self
Trait Implementations§
Source§impl Clone for DirectGpuAtlasUpload
impl Clone for DirectGpuAtlasUpload
Source§impl Debug for DirectGpuAtlasUpload
impl Debug for DirectGpuAtlasUpload
Source§impl Default for DirectGpuAtlasUpload
impl Default for DirectGpuAtlasUpload
Source§impl PartialEq for DirectGpuAtlasUpload
impl PartialEq for DirectGpuAtlasUpload
impl StructuralPartialEq for DirectGpuAtlasUpload
Auto Trait Implementations§
impl Forget for DirectGpuAtlasUpload
impl Freeze for DirectGpuAtlasUpload
impl Move for DirectGpuAtlasUpload
impl RefUnwindSafe for DirectGpuAtlasUpload
impl Send for DirectGpuAtlasUploadwhere
RawVecInner: Send,
impl Sync for DirectGpuAtlasUploadwhere
RawVecInner: Sync,
impl Unpin for DirectGpuAtlasUpload
impl UnsafeUnpin for DirectGpuAtlasUpload
impl UnwindSafe for DirectGpuAtlasUploadwhere
RawVecInner: UnwindSafe,
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