#[repr(transparent)]pub struct TTF_ImageType(pub c_uint);Expand description
The type of data in a glyph image
Available Since: This enum is available since SDL_ttf 3.0.0.
Tuple Fields§
§0: c_uintImplementations§
Source§impl TTF_ImageType
impl TTF_ImageType
pub const TTF_IMAGE_INVALID: TTF_ImageType
Sourcepub const TTF_IMAGE_ALPHA: TTF_ImageType
pub const TTF_IMAGE_ALPHA: TTF_ImageType
< The color channels are white
Sourcepub const TTF_IMAGE_COLOR: TTF_ImageType
pub const TTF_IMAGE_COLOR: TTF_ImageType
< The color channels have image data
Sourcepub const TTF_IMAGE_SDF: TTF_ImageType
pub const TTF_IMAGE_SDF: TTF_ImageType
< The alpha channel has signed distance field information
Trait Implementations§
Source§impl Clone for TTF_ImageType
impl Clone for TTF_ImageType
Source§fn clone(&self) -> TTF_ImageType
fn clone(&self) -> TTF_ImageType
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 TTF_ImageType
impl Debug for TTF_ImageType
Source§impl Hash for TTF_ImageType
impl Hash for TTF_ImageType
Source§impl PartialEq for TTF_ImageType
impl PartialEq for TTF_ImageType
impl Copy for TTF_ImageType
impl Eq for TTF_ImageType
impl StructuralPartialEq for TTF_ImageType
Auto Trait Implementations§
impl Freeze for TTF_ImageType
impl RefUnwindSafe for TTF_ImageType
impl Send for TTF_ImageType
impl Sync for TTF_ImageType
impl Unpin for TTF_ImageType
impl UnsafeUnpin for TTF_ImageType
impl UnwindSafe for TTF_ImageType
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