Struct godot::classes::display_server::WindowFlags
pub struct WindowFlags { /* private fields */ }
Implementations§
§impl WindowFlags
impl WindowFlags
pub const RESIZE_DISABLED: WindowFlags = _
pub const RESIZE_DISABLED: WindowFlags = _
Godot enumerator name: WINDOW_FLAG_RESIZE_DISABLED
pub const BORDERLESS: WindowFlags = _
pub const BORDERLESS: WindowFlags = _
Godot enumerator name: WINDOW_FLAG_BORDERLESS
pub const ALWAYS_ON_TOP: WindowFlags = _
pub const ALWAYS_ON_TOP: WindowFlags = _
Godot enumerator name: WINDOW_FLAG_ALWAYS_ON_TOP
pub const TRANSPARENT: WindowFlags = _
pub const TRANSPARENT: WindowFlags = _
Godot enumerator name: WINDOW_FLAG_TRANSPARENT
pub const NO_FOCUS: WindowFlags = _
pub const NO_FOCUS: WindowFlags = _
Godot enumerator name: WINDOW_FLAG_NO_FOCUS
pub const POPUP: WindowFlags = _
pub const POPUP: WindowFlags = _
Godot enumerator name: WINDOW_FLAG_POPUP
pub const EXTEND_TO_TITLE: WindowFlags = _
pub const EXTEND_TO_TITLE: WindowFlags = _
Godot enumerator name: WINDOW_FLAG_EXTEND_TO_TITLE
pub const MOUSE_PASSTHROUGH: WindowFlags = _
pub const MOUSE_PASSTHROUGH: WindowFlags = _
Godot enumerator name: WINDOW_FLAG_MOUSE_PASSTHROUGH
pub const MAX: WindowFlags = _
pub const MAX: WindowFlags = _
Godot enumerator name: WINDOW_FLAG_MAX
Trait Implementations§
§impl Clone for WindowFlags
impl Clone for WindowFlags
§fn clone(&self) -> WindowFlags
fn clone(&self) -> WindowFlags
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 WindowFlags
impl Debug for WindowFlags
§impl EngineEnum for WindowFlags
impl EngineEnum for WindowFlags
§impl FromGodot for WindowFlags
impl FromGodot for WindowFlags
§fn try_from_godot(
via: <WindowFlags as GodotConvert>::Via,
) -> Result<WindowFlags, ConvertError>
fn try_from_godot( via: <WindowFlags as GodotConvert>::Via, ) -> Result<WindowFlags, 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 WindowFlags
impl GodotConvert for WindowFlags
§impl Hash for WindowFlags
impl Hash for WindowFlags
§impl IndexEnum for WindowFlags
impl IndexEnum for WindowFlags
§impl PartialEq for WindowFlags
impl PartialEq for WindowFlags
§fn eq(&self, other: &WindowFlags) -> bool
fn eq(&self, other: &WindowFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl ToGodot for WindowFlags
impl ToGodot for WindowFlags
§fn to_godot(&self) -> <WindowFlags as GodotConvert>::Via
fn to_godot(&self) -> <WindowFlags 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 WindowFlags
impl Eq for WindowFlags
impl StructuralPartialEq for WindowFlags
Auto Trait Implementations§
impl Freeze for WindowFlags
impl RefUnwindSafe for WindowFlags
impl Send for WindowFlags
impl Sync for WindowFlags
impl Unpin for WindowFlags
impl UnwindSafe for WindowFlags
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)