pub struct LineBreakFlag { /* private fields */ }Implementations§
Source§impl LineBreakFlag
impl LineBreakFlag
Sourcepub const NONE: LineBreakFlag
pub const NONE: LineBreakFlag
Godot enumerator name: BREAK_NONE
Sourcepub const MANDATORY: LineBreakFlag
pub const MANDATORY: LineBreakFlag
Godot enumerator name: BREAK_MANDATORY
Sourcepub const WORD_BOUND: LineBreakFlag
pub const WORD_BOUND: LineBreakFlag
Godot enumerator name: BREAK_WORD_BOUND
Sourcepub const GRAPHEME_BOUND: LineBreakFlag
pub const GRAPHEME_BOUND: LineBreakFlag
Godot enumerator name: BREAK_GRAPHEME_BOUND
Sourcepub const ADAPTIVE: LineBreakFlag
pub const ADAPTIVE: LineBreakFlag
Godot enumerator name: BREAK_ADAPTIVE
Sourcepub const TRIM_EDGE_SPACES: LineBreakFlag
pub const TRIM_EDGE_SPACES: LineBreakFlag
Godot enumerator name: BREAK_TRIM_EDGE_SPACES
Sourcepub const TRIM_INDENT: LineBreakFlag
pub const TRIM_INDENT: LineBreakFlag
Godot enumerator name: BREAK_TRIM_INDENT
Sourcepub const TRIM_START_EDGE_SPACES: LineBreakFlag
pub const TRIM_START_EDGE_SPACES: LineBreakFlag
Godot enumerator name: BREAK_TRIM_START_EDGE_SPACES
Sourcepub const TRIM_END_EDGE_SPACES: LineBreakFlag
pub const TRIM_END_EDGE_SPACES: LineBreakFlag
Godot enumerator name: BREAK_TRIM_END_EDGE_SPACES
Trait Implementations§
Source§impl BitOr for LineBreakFlag
impl BitOr for LineBreakFlag
Source§type Output = LineBreakFlag
type Output = LineBreakFlag
The resulting type after applying the
| operator.Source§fn bitor(self, rhs: LineBreakFlag) -> <LineBreakFlag as BitOr>::Output
fn bitor(self, rhs: LineBreakFlag) -> <LineBreakFlag as BitOr>::Output
Performs the
| operation. Read moreSource§impl BitOrAssign for LineBreakFlag
impl BitOrAssign for LineBreakFlag
Source§fn bitor_assign(&mut self, rhs: LineBreakFlag)
fn bitor_assign(&mut self, rhs: LineBreakFlag)
Performs the
|= operation. Read moreSource§impl Clone for LineBreakFlag
impl Clone for LineBreakFlag
Source§fn clone(&self) -> LineBreakFlag
fn clone(&self) -> LineBreakFlag
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 LineBreakFlag
impl Debug for LineBreakFlag
Source§impl Default for LineBreakFlag
impl Default for LineBreakFlag
Source§fn default() -> LineBreakFlag
fn default() -> LineBreakFlag
Returns the “default value” for a type. Read more
Source§impl EngineBitfield for LineBreakFlag
impl EngineBitfield for LineBreakFlag
fn try_from_ord(ord: u64) -> Option<LineBreakFlag>
Source§fn all_constants() -> &'static [EnumConstant<LineBreakFlag>]
fn all_constants() -> &'static [EnumConstant<LineBreakFlag>]
Returns metadata for all bitfield constants. Read more
fn from_ord(ord: u64) -> Self
fn is_set(self, flag: Self) -> bool
Source§impl FromGodot for LineBreakFlag
impl FromGodot for LineBreakFlag
Source§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.Source§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Converts the Godot representation to this type. Read more
Source§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.Source§impl GodotConvert for LineBreakFlag
impl GodotConvert for LineBreakFlag
Source§impl Hash for LineBreakFlag
impl Hash for LineBreakFlag
Source§impl PartialEq for LineBreakFlag
impl PartialEq for LineBreakFlag
Source§impl ToGodot for LineBreakFlag
impl ToGodot for LineBreakFlag
Source§type Pass = ByValue
type Pass = ByValue
Whether arguments of this type are passed by value or by reference. Read more
Source§fn to_godot(&self) -> <LineBreakFlag as GodotConvert>::Via
fn to_godot(&self) -> <LineBreakFlag as GodotConvert>::Via
Converts this type to Godot representation, optimizing for zero-copy when possible. Read more
Source§fn to_godot_owned(&self) -> Self::Via
fn to_godot_owned(&self) -> Self::Via
Converts this type to owned Godot representation. Read more
Source§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