#[repr(transparent)]pub struct TTF_DrawCommand(pub c_int);Expand description
A font atlas draw command.
§Availability
This enum is available since SDL_ttf 3.0.0.
§Known values (sdl3-sys)
| Associated constant | Global constant | Description |
|---|---|---|
NOOP | TTF_DRAW_COMMAND_NOOP | |
FILL | TTF_DRAW_COMMAND_FILL | |
COPY | TTF_DRAW_COMMAND_COPY |
Tuple Fields§
§0: c_intImplementations§
Trait Implementations§
Source§impl Clone for TTF_DrawCommand
impl Clone for TTF_DrawCommand
Source§fn clone(&self) -> TTF_DrawCommand
fn clone(&self) -> TTF_DrawCommand
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 Default for TTF_DrawCommand
impl Default for TTF_DrawCommand
Source§fn default() -> TTF_DrawCommand
fn default() -> TTF_DrawCommand
Returns the “default value” for a type. Read more
Source§impl From<TTF_DrawCommand> for c_int
impl From<TTF_DrawCommand> for c_int
Source§fn from(value: TTF_DrawCommand) -> Self
fn from(value: TTF_DrawCommand) -> Self
Converts to this type from the input type.
Source§impl Hash for TTF_DrawCommand
impl Hash for TTF_DrawCommand
Source§impl Ord for TTF_DrawCommand
impl Ord for TTF_DrawCommand
Source§fn cmp(&self, other: &TTF_DrawCommand) -> Ordering
fn cmp(&self, other: &TTF_DrawCommand) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq<TTF_DrawCommand> for c_int
impl PartialEq<TTF_DrawCommand> for c_int
Source§impl PartialEq<i32> for TTF_DrawCommand
impl PartialEq<i32> for TTF_DrawCommand
Source§impl PartialEq for TTF_DrawCommand
impl PartialEq for TTF_DrawCommand
Source§impl PartialOrd for TTF_DrawCommand
impl PartialOrd for TTF_DrawCommand
impl Copy for TTF_DrawCommand
impl Eq for TTF_DrawCommand
impl StructuralPartialEq for TTF_DrawCommand
Auto Trait Implementations§
impl Freeze for TTF_DrawCommand
impl RefUnwindSafe for TTF_DrawCommand
impl Send for TTF_DrawCommand
impl Sync for TTF_DrawCommand
impl Unpin for TTF_DrawCommand
impl UnwindSafe for TTF_DrawCommand
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