Struct DockLayout
pub struct DockLayout { /* private fields */ }Implementations§
§impl DockLayout
impl DockLayout
pub const VERTICAL: DockLayout
pub const VERTICAL: DockLayout
Godot enumerator name: DOCK_LAYOUT_VERTICAL
pub const HORIZONTAL: DockLayout
pub const HORIZONTAL: DockLayout
Godot enumerator name: DOCK_LAYOUT_HORIZONTAL
pub const FLOATING: DockLayout
pub const FLOATING: DockLayout
Godot enumerator name: DOCK_LAYOUT_FLOATING
pub const ALL: DockLayout
pub const ALL: DockLayout
Godot enumerator name: DOCK_LAYOUT_ALL
Trait Implementations§
§impl BitOr for DockLayout
impl BitOr for DockLayout
§type Output = DockLayout
type Output = DockLayout
The resulting type after applying the
| operator.§fn bitor(self, rhs: DockLayout) -> <DockLayout as BitOr>::Output
fn bitor(self, rhs: DockLayout) -> <DockLayout as BitOr>::Output
Performs the
| operation. Read more§impl BitOrAssign for DockLayout
impl BitOrAssign for DockLayout
§fn bitor_assign(&mut self, rhs: DockLayout)
fn bitor_assign(&mut self, rhs: DockLayout)
Performs the
|= operation. Read more§impl Clone for DockLayout
impl Clone for DockLayout
§fn clone(&self) -> DockLayout
fn clone(&self) -> DockLayout
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 more§impl Debug for DockLayout
impl Debug for DockLayout
§impl Default for DockLayout
impl Default for DockLayout
§fn default() -> DockLayout
fn default() -> DockLayout
Returns the “default value” for a type. Read more
§impl EngineBitfield for DockLayout
impl EngineBitfield for DockLayout
fn try_from_ord(ord: u64) -> Option<DockLayout>
§fn all_constants() -> &'static [EnumConstant<DockLayout>]
fn all_constants() -> &'static [EnumConstant<DockLayout>]
Returns metadata for all bitfield constants. Read more
fn from_ord(ord: u64) -> Self
fn is_set(self, flag: Self) -> bool
§impl FromGodot for DockLayout
impl FromGodot for DockLayout
§fn try_from_godot(
via: <DockLayout as GodotConvert>::Via,
) -> Result<DockLayout, ConvertError>
fn try_from_godot( via: <DockLayout as GodotConvert>::Via, ) -> Result<DockLayout, 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 DockLayout
impl GodotConvert for DockLayout
§fn godot_shape() -> GodotShape
fn godot_shape() -> GodotShape
Which “shape” this type has for property registration (e.g. builtin, enum, …). Read more
§impl Hash for DockLayout
impl Hash for DockLayout
§impl PartialEq for DockLayout
impl PartialEq for DockLayout
§impl ToGodot for DockLayout
impl ToGodot for DockLayout
§fn to_godot(&self) -> <DockLayout as GodotConvert>::Via
fn to_godot(&self) -> <DockLayout as GodotConvert>::Via
Converts this type to Godot representation, optimizing for zero-copy when possible. Read more
§fn to_godot_owned(&self) -> Self::Via
fn to_godot_owned(&self) -> Self::Via
Converts this type to owned Godot representation. Read more
§fn to_variant(&self) -> Variant
fn to_variant(&self) -> Variant
Converts this type to a Variant.
§impl Var for DockLayout
impl Var for DockLayout
§type PubType = DockLayout
type PubType = DockLayout
Type used in generated Rust getters/setters for
#[var(pub)].§fn var_get(field: &DockLayout) -> <DockLayout as GodotConvert>::Via
fn var_get(field: &DockLayout) -> <DockLayout as GodotConvert>::Via
Get property value via FFI-level
Via type. Called for internal (non-pub) getters registered with Godot.§fn var_set(field: &mut DockLayout, value: <DockLayout as GodotConvert>::Via)
fn var_set(field: &mut DockLayout, value: <DockLayout as GodotConvert>::Via)
Set property value via FFI-level
Via type. Called for internal (non-pub) setters registered with Godot.§fn var_pub_get(field: &DockLayout) -> <DockLayout as Var>::PubType
fn var_pub_get(field: &DockLayout) -> <DockLayout as Var>::PubType
Get property value as
PubType. Called for #[var(pub)] getters exposed in Rust API.§fn var_pub_set(field: &mut DockLayout, value: <DockLayout as Var>::PubType)
fn var_pub_set(field: &mut DockLayout, value: <DockLayout as Var>::PubType)
Set property value as
PubType. Called for #[var(pub)] setters exposed in Rust API.impl Copy for DockLayout
impl Element for DockLayout
impl Eq for DockLayout
impl Export for DockLayout
impl StructuralPartialEq for DockLayout
Auto Trait Implementations§
impl Freeze for DockLayout
impl RefUnwindSafe for DockLayout
impl Send for DockLayout
impl Sync for DockLayout
impl Unpin for DockLayout
impl UnsafeUnpin for DockLayout
impl UnwindSafe for DockLayout
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