Struct InlineAlignment
pub struct InlineAlignment { /* private fields */ }
Implementations§
§impl InlineAlignment
impl InlineAlignment
pub const TOP_TO: InlineAlignment = _
pub const TOP_TO: InlineAlignment = _
Godot enumerator name: INLINE_ALIGNMENT_TOP_TO
pub const CENTER_TO: InlineAlignment = _
pub const CENTER_TO: InlineAlignment = _
Godot enumerator name: INLINE_ALIGNMENT_CENTER_TO
pub const BASELINE_TO: InlineAlignment = _
pub const BASELINE_TO: InlineAlignment = _
Godot enumerator name: INLINE_ALIGNMENT_BASELINE_TO
pub const BOTTOM_TO: InlineAlignment = _
pub const BOTTOM_TO: InlineAlignment = _
Godot enumerator name: INLINE_ALIGNMENT_BOTTOM_TO
pub const TO_TOP: InlineAlignment = _
pub const TO_TOP: InlineAlignment = _
Godot enumerator name: INLINE_ALIGNMENT_TO_TOP
pub const TO_CENTER: InlineAlignment = _
pub const TO_CENTER: InlineAlignment = _
Godot enumerator name: INLINE_ALIGNMENT_TO_CENTER
pub const TO_BASELINE: InlineAlignment = _
pub const TO_BASELINE: InlineAlignment = _
Godot enumerator name: INLINE_ALIGNMENT_TO_BASELINE
pub const TO_BOTTOM: InlineAlignment = _
pub const TO_BOTTOM: InlineAlignment = _
Godot enumerator name: INLINE_ALIGNMENT_TO_BOTTOM
pub const TOP: InlineAlignment = _
pub const TOP: InlineAlignment = _
Godot enumerator name: INLINE_ALIGNMENT_TOP
pub const CENTER: InlineAlignment = _
pub const CENTER: InlineAlignment = _
Godot enumerator name: INLINE_ALIGNMENT_CENTER
pub const BOTTOM: InlineAlignment = _
pub const BOTTOM: InlineAlignment = _
Godot enumerator name: INLINE_ALIGNMENT_BOTTOM
pub const IMAGE_MASK: InlineAlignment = _
pub const IMAGE_MASK: InlineAlignment = _
Godot enumerator name: INLINE_ALIGNMENT_IMAGE_MASK
pub const TEXT_MASK: InlineAlignment = _
pub const TEXT_MASK: InlineAlignment = _
Godot enumerator name: INLINE_ALIGNMENT_TEXT_MASK
Trait Implementations§
§impl Clone for InlineAlignment
impl Clone for InlineAlignment
§fn clone(&self) -> InlineAlignment
fn clone(&self) -> InlineAlignment
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 InlineAlignment
impl Debug for InlineAlignment
§impl EngineEnum for InlineAlignment
impl EngineEnum for InlineAlignment
§impl FromGodot for InlineAlignment
impl FromGodot for InlineAlignment
§fn try_from_godot(
via: <InlineAlignment as GodotConvert>::Via,
) -> Result<InlineAlignment, ConvertError>
fn try_from_godot( via: <InlineAlignment as GodotConvert>::Via, ) -> Result<InlineAlignment, 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 InlineAlignment
impl GodotConvert for InlineAlignment
§impl Hash for InlineAlignment
impl Hash for InlineAlignment
§impl PartialEq for InlineAlignment
impl PartialEq for InlineAlignment
§impl ToGodot for InlineAlignment
impl ToGodot for InlineAlignment
§type ToVia<'v> = i32
type ToVia<'v> = i32
Target type of
to_godot()
, which differs from Via
for pass-by-reference types.§fn to_godot(&self) -> <InlineAlignment as ToGodot>::ToVia<'_>
fn to_godot(&self) -> <InlineAlignment as ToGodot>::ToVia<'_>
Converts this type to the Godot type by reference, usually by cloning.
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
impl Copy for InlineAlignment
impl Eq for InlineAlignment
impl StructuralPartialEq for InlineAlignment
Auto Trait Implementations§
impl Freeze for InlineAlignment
impl RefUnwindSafe for InlineAlignment
impl Send for InlineAlignment
impl Sync for InlineAlignment
impl Unpin for InlineAlignment
impl UnwindSafe for InlineAlignment
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§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
)