pub enum GlyphTexture {
None,
AlphaMask(ImageId),
ColorTexture(ImageId),
}Expand description
Reperesent glyph texture
Variants§
Trait Implementations§
Source§impl Clone for GlyphTexture
impl Clone for GlyphTexture
Source§fn clone(&self) -> GlyphTexture
fn clone(&self) -> GlyphTexture
Returns a duplicate 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 moreSource§impl Debug for GlyphTexture
impl Debug for GlyphTexture
Source§impl Default for GlyphTexture
impl Default for GlyphTexture
impl Copy for GlyphTexture
Auto Trait Implementations§
impl Freeze for GlyphTexture
impl RefUnwindSafe for GlyphTexture
impl Send for GlyphTexture
impl Sync for GlyphTexture
impl Unpin for GlyphTexture
impl UnwindSafe for GlyphTexture
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