Struct godot::engine::window::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>
Performs the conversion.
§fn from_godot(via: Self::Via) -> Self
fn from_godot(via: Self::Via) -> Self
⚠️ Performs the conversion. 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
.§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
§fn eq(&self, other: &LayoutDirection) -> bool
fn eq(&self, other: &LayoutDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for LayoutDirection
impl ToGodot for LayoutDirection
§fn to_godot(&self) -> <LayoutDirection as GodotConvert>::Via
fn to_godot(&self) -> <LayoutDirection 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 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