pub struct PlatformRenderTargetState {
pub is_ready: bool,
pub will_wake_up_render_loop_when_ready: bool,
pub is_corrupted: bool,
}Expand description
The readiness of a platform render target.
Fields§
§is_ready: bool§will_wake_up_render_loop_when_ready: bool§is_corrupted: boolImplementations§
Source§impl PlatformRenderTargetState
impl PlatformRenderTargetState
pub const READY: Self
pub const NOT_READY_TRY_LATER: Self
pub const CORRUPTED: Self
pub const DISPOSED: Self
pub const NOT_READY_WILL_WAKEUP_RENDER_LOOP: Self
Trait Implementations§
Source§impl Clone for PlatformRenderTargetState
impl Clone for PlatformRenderTargetState
impl Copy for PlatformRenderTargetState
Source§impl Debug for PlatformRenderTargetState
impl Debug for PlatformRenderTargetState
Source§impl Default for PlatformRenderTargetState
impl Default for PlatformRenderTargetState
impl Eq for PlatformRenderTargetState
impl StructuralPartialEq for PlatformRenderTargetState
Auto Trait Implementations§
impl Freeze for PlatformRenderTargetState
impl RefUnwindSafe for PlatformRenderTargetState
impl Send for PlatformRenderTargetState
impl Sync for PlatformRenderTargetState
impl Unpin for PlatformRenderTargetState
impl UnsafeUnpin for PlatformRenderTargetState
impl UnwindSafe for PlatformRenderTargetState
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more