Struct LayoutDirection
pub struct LayoutDirection { /* private fields */ }
Implementations§
§impl LayoutDirection
impl LayoutDirection
pub const INHERITED: LayoutDirection = _
pub const INHERITED: LayoutDirection = _
Godot enumerator name: LAYOUT_DIRECTION_INHERITED
pub const LOCALE: LayoutDirection = _
pub const LOCALE: LayoutDirection = _
Godot enumerator name: LAYOUT_DIRECTION_LOCALE
pub const LTR: LayoutDirection = _
pub const LTR: LayoutDirection = _
Godot enumerator name: LAYOUT_DIRECTION_LTR
pub const RTL: LayoutDirection = _
pub const RTL: LayoutDirection = _
Godot enumerator name: LAYOUT_DIRECTION_RTL
Trait Implementations§
§impl Clone for LayoutDirection
impl Clone for LayoutDirection
§fn clone(&self) -> LayoutDirection
fn clone(&self) -> LayoutDirection
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 LayoutDirection
impl Debug for LayoutDirection
§impl EngineEnum for LayoutDirection
impl EngineEnum for LayoutDirection
§impl FromGodot for LayoutDirection
impl FromGodot for LayoutDirection
§fn try_from_godot(
via: <LayoutDirection as GodotConvert>::Via,
) -> Result<LayoutDirection, ConvertError>
fn try_from_godot( via: <LayoutDirection as GodotConvert>::Via, ) -> Result<LayoutDirection, 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 LayoutDirection
impl GodotConvert for LayoutDirection
§impl Hash for LayoutDirection
impl Hash for LayoutDirection
§impl PartialEq for LayoutDirection
impl PartialEq for LayoutDirection
§impl ToGodot for LayoutDirection
impl ToGodot for LayoutDirection
impl Copy for LayoutDirection
impl Eq for LayoutDirection
impl StructuralPartialEq for LayoutDirection
Auto Trait Implementations§
impl Freeze for LayoutDirection
impl RefUnwindSafe for LayoutDirection
impl Send for LayoutDirection
impl Sync for LayoutDirection
impl Unpin for LayoutDirection
impl UnwindSafe for LayoutDirection
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