#[repr(transparent)]pub struct TTF_Direction(pub c_uint);Expand description
Direction flags
The values here are chosen to match hb_direction_t .
Available Since: This enum is available since SDL_ttf 3.0.0.
See Also: TTF_SetFontDirection
Tuple Fields§
§0: c_uintImplementations§
Source§impl TTF_Direction
impl TTF_Direction
pub const TTF_DIRECTION_INVALID: TTF_Direction
Sourcepub const TTF_DIRECTION_LTR: TTF_Direction
pub const TTF_DIRECTION_LTR: TTF_Direction
< Left to Right
Sourcepub const TTF_DIRECTION_RTL: TTF_Direction
pub const TTF_DIRECTION_RTL: TTF_Direction
< Right to Left
Sourcepub const TTF_DIRECTION_TTB: TTF_Direction
pub const TTF_DIRECTION_TTB: TTF_Direction
< Top to Bottom
Sourcepub const TTF_DIRECTION_BTT: TTF_Direction
pub const TTF_DIRECTION_BTT: TTF_Direction
< Bottom to Top
Trait Implementations§
Source§impl Clone for TTF_Direction
impl Clone for TTF_Direction
Source§fn clone(&self) -> TTF_Direction
fn clone(&self) -> TTF_Direction
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_Direction
impl Debug for TTF_Direction
Source§impl Hash for TTF_Direction
impl Hash for TTF_Direction
Source§impl PartialEq for TTF_Direction
impl PartialEq for TTF_Direction
impl Copy for TTF_Direction
impl Eq for TTF_Direction
impl StructuralPartialEq for TTF_Direction
Auto Trait Implementations§
impl Freeze for TTF_Direction
impl RefUnwindSafe for TTF_Direction
impl Send for TTF_Direction
impl Sync for TTF_Direction
impl Unpin for TTF_Direction
impl UnsafeUnpin for TTF_Direction
impl UnwindSafe for TTF_Direction
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