Struct TextOverrunFlag
pub struct TextOverrunFlag { /* private fields */ }
Implementations§
§impl TextOverrunFlag
impl TextOverrunFlag
pub const NO_TRIM: TextOverrunFlag = _
pub const NO_TRIM: TextOverrunFlag = _
Godot enumerator name: OVERRUN_NO_TRIM
pub const TRIM: TextOverrunFlag = _
pub const TRIM: TextOverrunFlag = _
Godot enumerator name: OVERRUN_TRIM
pub const TRIM_WORD_ONLY: TextOverrunFlag = _
pub const TRIM_WORD_ONLY: TextOverrunFlag = _
Godot enumerator name: OVERRUN_TRIM_WORD_ONLY
pub const ADD_ELLIPSIS: TextOverrunFlag = _
pub const ADD_ELLIPSIS: TextOverrunFlag = _
Godot enumerator name: OVERRUN_ADD_ELLIPSIS
pub const ENFORCE_ELLIPSIS: TextOverrunFlag = _
pub const ENFORCE_ELLIPSIS: TextOverrunFlag = _
Godot enumerator name: OVERRUN_ENFORCE_ELLIPSIS
pub const JUSTIFICATION_AWARE: TextOverrunFlag = _
pub const JUSTIFICATION_AWARE: TextOverrunFlag = _
Godot enumerator name: OVERRUN_JUSTIFICATION_AWARE
Trait Implementations§
§impl BitOr for TextOverrunFlag
impl BitOr for TextOverrunFlag
§type Output = TextOverrunFlag
type Output = TextOverrunFlag
The resulting type after applying the
|
operator.§fn bitor(self, rhs: TextOverrunFlag) -> <TextOverrunFlag as BitOr>::Output
fn bitor(self, rhs: TextOverrunFlag) -> <TextOverrunFlag as BitOr>::Output
Performs the
|
operation. Read more§impl Clone for TextOverrunFlag
impl Clone for TextOverrunFlag
§fn clone(&self) -> TextOverrunFlag
fn clone(&self) -> TextOverrunFlag
Returns a copy 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 more§impl Debug for TextOverrunFlag
impl Debug for TextOverrunFlag
§impl Default for TextOverrunFlag
impl Default for TextOverrunFlag
§fn default() -> TextOverrunFlag
fn default() -> TextOverrunFlag
Returns the “default value” for a type. Read more
§impl EngineBitfield for TextOverrunFlag
impl EngineBitfield for TextOverrunFlag
§impl FromGodot for TextOverrunFlag
impl FromGodot for TextOverrunFlag
§fn try_from_godot(
via: <TextOverrunFlag as GodotConvert>::Via,
) -> Result<TextOverrunFlag, ConvertError>
fn try_from_godot( via: <TextOverrunFlag as GodotConvert>::Via, ) -> Result<TextOverrunFlag, ConvertError>
Converts the Godot representation to this type, returning
Err
on failure.§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Converts the Godot representation to this type. Read more
§fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
fn try_from_variant(variant: &Variant) -> Result<Self, ConvertError>
Performs the conversion from a
Variant
, returning Err
on failure.§fn from_variant(variant: &Variant) -> Self
fn from_variant(variant: &Variant) -> Self
§impl GodotConvert for TextOverrunFlag
impl GodotConvert for TextOverrunFlag
§impl Hash for TextOverrunFlag
impl Hash for TextOverrunFlag
§impl PartialEq for TextOverrunFlag
impl PartialEq for TextOverrunFlag
§impl ToGodot for TextOverrunFlag
impl ToGodot for TextOverrunFlag
§type ToVia<'v> = u64
type ToVia<'v> = u64
Target type of
to_godot()
, which differs from Via
for pass-by-reference types.§fn to_godot(&self) -> <TextOverrunFlag as ToGodot>::ToVia<'_>
fn to_godot(&self) -> <TextOverrunFlag as ToGodot>::ToVia<'_>
Converts this type to the Godot type by reference, usually by cloning.
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
impl Copy for TextOverrunFlag
impl Eq for TextOverrunFlag
impl StructuralPartialEq for TextOverrunFlag
Auto Trait Implementations§
impl Freeze for TextOverrunFlag
impl RefUnwindSafe for TextOverrunFlag
impl Send for TextOverrunFlag
impl Sync for TextOverrunFlag
impl Unpin for TextOverrunFlag
impl UnwindSafe for TextOverrunFlag
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)