Struct arcdps_imgui::FontAtlasTexture
source · pub struct FontAtlasTexture<'a> {
pub width: u32,
pub height: u32,
pub data: &'a [u8],
}
Expand description
Handle to a font atlas texture
Fields§
§width: u32
Texture width (in pixels)
height: u32
Texture height (in pixels)
data: &'a [u8]
Raw texture data (in bytes).
The format depends on which function was called to obtain this data.
Trait Implementations§
source§impl<'a> Clone for FontAtlasTexture<'a>
impl<'a> Clone for FontAtlasTexture<'a>
source§fn clone(&self) -> FontAtlasTexture<'a>
fn clone(&self) -> FontAtlasTexture<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a> Freeze for FontAtlasTexture<'a>
impl<'a> RefUnwindSafe for FontAtlasTexture<'a>
impl<'a> Send for FontAtlasTexture<'a>
impl<'a> Sync for FontAtlasTexture<'a>
impl<'a> Unpin for FontAtlasTexture<'a>
impl<'a> UnwindSafe for FontAtlasTexture<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)