Struct godot::classes::text_server::JustificationFlag
pub struct JustificationFlag { /* private fields */ }
Implementations§
§impl JustificationFlag
impl JustificationFlag
pub const NONE: JustificationFlag = _
pub const NONE: JustificationFlag = _
Godot enumerator name: JUSTIFICATION_NONE
pub const KASHIDA: JustificationFlag = _
pub const KASHIDA: JustificationFlag = _
Godot enumerator name: JUSTIFICATION_KASHIDA
pub const WORD_BOUND: JustificationFlag = _
pub const WORD_BOUND: JustificationFlag = _
Godot enumerator name: JUSTIFICATION_WORD_BOUND
pub const TRIM_EDGE_SPACES: JustificationFlag = _
pub const TRIM_EDGE_SPACES: JustificationFlag = _
Godot enumerator name: JUSTIFICATION_TRIM_EDGE_SPACES
pub const AFTER_LAST_TAB: JustificationFlag = _
pub const AFTER_LAST_TAB: JustificationFlag = _
Godot enumerator name: JUSTIFICATION_AFTER_LAST_TAB
pub const CONSTRAIN_ELLIPSIS: JustificationFlag = _
pub const CONSTRAIN_ELLIPSIS: JustificationFlag = _
Godot enumerator name: JUSTIFICATION_CONSTRAIN_ELLIPSIS
pub const SKIP_LAST_LINE: JustificationFlag = _
pub const SKIP_LAST_LINE: JustificationFlag = _
Godot enumerator name: JUSTIFICATION_SKIP_LAST_LINE
pub const SKIP_LAST_LINE_WITH_VISIBLE_CHARS: JustificationFlag = _
pub const SKIP_LAST_LINE_WITH_VISIBLE_CHARS: JustificationFlag = _
Godot enumerator name: JUSTIFICATION_SKIP_LAST_LINE_WITH_VISIBLE_CHARS
pub const DO_NOT_SKIP_SINGLE_LINE: JustificationFlag = _
pub const DO_NOT_SKIP_SINGLE_LINE: JustificationFlag = _
Godot enumerator name: JUSTIFICATION_DO_NOT_SKIP_SINGLE_LINE
Trait Implementations§
§impl BitOr for JustificationFlag
impl BitOr for JustificationFlag
§type Output = JustificationFlag
type Output = JustificationFlag
The resulting type after applying the
|
operator.§fn bitor(self, rhs: JustificationFlag) -> <JustificationFlag as BitOr>::Output
fn bitor(self, rhs: JustificationFlag) -> <JustificationFlag as BitOr>::Output
Performs the
|
operation. Read more§impl Clone for JustificationFlag
impl Clone for JustificationFlag
§fn clone(&self) -> JustificationFlag
fn clone(&self) -> JustificationFlag
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 JustificationFlag
impl Debug for JustificationFlag
§impl Default for JustificationFlag
impl Default for JustificationFlag
§fn default() -> JustificationFlag
fn default() -> JustificationFlag
Returns the “default value” for a type. Read more
§impl EngineBitfield for JustificationFlag
impl EngineBitfield for JustificationFlag
§impl FromGodot for JustificationFlag
impl FromGodot for JustificationFlag
§fn try_from_godot(
via: <JustificationFlag as GodotConvert>::Via,
) -> Result<JustificationFlag, ConvertError>
fn try_from_godot( via: <JustificationFlag as GodotConvert>::Via, ) -> Result<JustificationFlag, 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 JustificationFlag
impl GodotConvert for JustificationFlag
§impl Hash for JustificationFlag
impl Hash for JustificationFlag
§impl PartialEq for JustificationFlag
impl PartialEq for JustificationFlag
§fn eq(&self, other: &JustificationFlag) -> bool
fn eq(&self, other: &JustificationFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for JustificationFlag
impl ToGodot for JustificationFlag
§fn to_godot(&self) -> <JustificationFlag as GodotConvert>::Via
fn to_godot(&self) -> <JustificationFlag as GodotConvert>::Via
Converts this type to the Godot type by reference, usually by cloning.
§fn into_godot(self) -> Self::Via
fn into_godot(self) -> Self::Via
Converts this type to the Godot type. Read more
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
impl Copy for JustificationFlag
impl Eq for JustificationFlag
impl StructuralPartialEq for JustificationFlag
Auto Trait Implementations§
impl Freeze for JustificationFlag
impl RefUnwindSafe for JustificationFlag
impl Send for JustificationFlag
impl Sync for JustificationFlag
impl Unpin for JustificationFlag
impl UnwindSafe for JustificationFlag
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)