#[repr(transparent)]pub struct TTF_SubStringFlags(pub Uint32);Expand description
Flags for TTF_SubString
§Availability
This datatype is available since SDL_ttf 3.0.0.
§See also
§Known values (sdl3-sys)
| Associated constant | Global constant | Description |
|---|---|---|
DIRECTION_MASK | TTF_SUBSTRING_DIRECTION_MASK | The mask for the flow direction for this substring |
TEXT_START | TTF_SUBSTRING_TEXT_START | This substring contains the beginning of the text |
LINE_START | TTF_SUBSTRING_LINE_START | This substring contains the beginning of line line_index |
LINE_END | TTF_SUBSTRING_LINE_END | This substring contains the end of line line_index |
TEXT_END | TTF_SUBSTRING_TEXT_END | This substring contains the end of the text |
Tuple Fields§
§0: Uint32Implementations§
Source§impl TTF_SubStringFlags
impl TTF_SubStringFlags
Sourcepub const DIRECTION_MASK: Self
pub const DIRECTION_MASK: Self
The mask for the flow direction for this substring
Sourcepub const TEXT_START: Self
pub const TEXT_START: Self
This substring contains the beginning of the text
Sourcepub const LINE_START: Self
pub const LINE_START: Self
This substring contains the beginning of line line_index
Trait Implementations§
Source§impl BitAnd for TTF_SubStringFlags
impl BitAnd for TTF_SubStringFlags
Source§impl BitAndAssign for TTF_SubStringFlags
impl BitAndAssign for TTF_SubStringFlags
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOr for TTF_SubStringFlags
impl BitOr for TTF_SubStringFlags
Source§impl BitOrAssign for TTF_SubStringFlags
impl BitOrAssign for TTF_SubStringFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXor for TTF_SubStringFlags
impl BitXor for TTF_SubStringFlags
Source§impl BitXorAssign for TTF_SubStringFlags
impl BitXorAssign for TTF_SubStringFlags
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for TTF_SubStringFlags
impl Clone for TTF_SubStringFlags
Source§fn clone(&self) -> TTF_SubStringFlags
fn clone(&self) -> TTF_SubStringFlags
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_SubStringFlags
impl Default for TTF_SubStringFlags
Source§fn default() -> TTF_SubStringFlags
fn default() -> TTF_SubStringFlags
Returns the “default value” for a type. Read more
Source§impl From<TTF_SubStringFlags> for Uint32
impl From<TTF_SubStringFlags> for Uint32
Source§fn from(value: TTF_SubStringFlags) -> Self
fn from(value: TTF_SubStringFlags) -> Self
Converts to this type from the input type.
Source§impl Hash for TTF_SubStringFlags
impl Hash for TTF_SubStringFlags
Source§impl Not for TTF_SubStringFlags
impl Not for TTF_SubStringFlags
Source§impl PartialEq<TTF_SubStringFlags> for Uint32
impl PartialEq<TTF_SubStringFlags> for Uint32
Source§impl PartialEq<u32> for TTF_SubStringFlags
impl PartialEq<u32> for TTF_SubStringFlags
Source§impl PartialEq for TTF_SubStringFlags
impl PartialEq for TTF_SubStringFlags
impl Copy for TTF_SubStringFlags
impl Eq for TTF_SubStringFlags
impl StructuralPartialEq for TTF_SubStringFlags
Auto Trait Implementations§
impl Freeze for TTF_SubStringFlags
impl RefUnwindSafe for TTF_SubStringFlags
impl Send for TTF_SubStringFlags
impl Sync for TTF_SubStringFlags
impl Unpin for TTF_SubStringFlags
impl UnwindSafe for TTF_SubStringFlags
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