Struct godot::classes::text_server::LineBreakFlag
pub struct LineBreakFlag { /* private fields */ }
Implementations§
§impl LineBreakFlag
impl LineBreakFlag
pub const NONE: LineBreakFlag = _
pub const NONE: LineBreakFlag = _
Godot enumerator name: BREAK_NONE
pub const MANDATORY: LineBreakFlag = _
pub const MANDATORY: LineBreakFlag = _
Godot enumerator name: BREAK_MANDATORY
pub const WORD_BOUND: LineBreakFlag = _
pub const WORD_BOUND: LineBreakFlag = _
Godot enumerator name: BREAK_WORD_BOUND
pub const GRAPHEME_BOUND: LineBreakFlag = _
pub const GRAPHEME_BOUND: LineBreakFlag = _
Godot enumerator name: BREAK_GRAPHEME_BOUND
pub const ADAPTIVE: LineBreakFlag = _
pub const ADAPTIVE: LineBreakFlag = _
Godot enumerator name: BREAK_ADAPTIVE
pub const TRIM_EDGE_SPACES: LineBreakFlag = _
pub const TRIM_EDGE_SPACES: LineBreakFlag = _
Godot enumerator name: BREAK_TRIM_EDGE_SPACES
pub const TRIM_INDENT: LineBreakFlag = _
pub const TRIM_INDENT: LineBreakFlag = _
Godot enumerator name: BREAK_TRIM_INDENT
Trait Implementations§
§impl BitOr for LineBreakFlag
impl BitOr for LineBreakFlag
§type Output = LineBreakFlag
type Output = LineBreakFlag
The resulting type after applying the
|
operator.§fn bitor(self, rhs: LineBreakFlag) -> <LineBreakFlag as BitOr>::Output
fn bitor(self, rhs: LineBreakFlag) -> <LineBreakFlag as BitOr>::Output
Performs the
|
operation. Read more§impl Clone for LineBreakFlag
impl Clone for LineBreakFlag
§fn clone(&self) -> LineBreakFlag
fn clone(&self) -> LineBreakFlag
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 LineBreakFlag
impl Debug for LineBreakFlag
§impl Default for LineBreakFlag
impl Default for LineBreakFlag
§fn default() -> LineBreakFlag
fn default() -> LineBreakFlag
Returns the “default value” for a type. Read more
§impl EngineBitfield for LineBreakFlag
impl EngineBitfield for LineBreakFlag
§impl FromGodot for LineBreakFlag
impl FromGodot for LineBreakFlag
§fn try_from_godot(
via: <LineBreakFlag as GodotConvert>::Via,
) -> Result<LineBreakFlag, ConvertError>
fn try_from_godot( via: <LineBreakFlag as GodotConvert>::Via, ) -> Result<LineBreakFlag, 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 LineBreakFlag
impl GodotConvert for LineBreakFlag
§impl Hash for LineBreakFlag
impl Hash for LineBreakFlag
§impl PartialEq for LineBreakFlag
impl PartialEq for LineBreakFlag
§fn eq(&self, other: &LineBreakFlag) -> bool
fn eq(&self, other: &LineBreakFlag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for LineBreakFlag
impl ToGodot for LineBreakFlag
§fn to_godot(&self) -> <LineBreakFlag as GodotConvert>::Via
fn to_godot(&self) -> <LineBreakFlag 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 LineBreakFlag
impl Eq for LineBreakFlag
impl StructuralPartialEq for LineBreakFlag
Auto Trait Implementations§
impl Freeze for LineBreakFlag
impl RefUnwindSafe for LineBreakFlag
impl Send for LineBreakFlag
impl Sync for LineBreakFlag
impl Unpin for LineBreakFlag
impl UnwindSafe for LineBreakFlag
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
)