pub struct _ValidateEntry(/* private fields */);Implementations§
Source§impl _ValidateEntry
impl _ValidateEntry
pub fn new() -> Result<Self, PlatformError>
Trait Implementations§
Source§impl ComponentHandle for _ValidateEntry
impl ComponentHandle for _ValidateEntry
Source§fn clone_strong(&self) -> Self
fn clone_strong(&self) -> Self
Returns a clone of this handle that’s a strong reference.
Source§fn run(&self) -> Result<(), PlatformError>
fn run(&self) -> Result<(), PlatformError>
This is a convenience function that first calls
Self::show, followed by crate::run_event_loop()
and Self::hide.Source§fn show(&self) -> Result<(), PlatformError>
fn show(&self) -> Result<(), PlatformError>
Convenience function for
crate::Window::show().
This shows the window on the screen and maintains an extra strong reference while
the window is visible. To react to events from the windowing system, such as draw
requests or mouse/touch input, it is still necessary to spin the event loop,
using crate::run_event_loop.Source§fn hide(&self) -> Result<(), PlatformError>
fn hide(&self) -> Result<(), PlatformError>
Convenience function for
crate::Window::hide().
Hides the window, so that it is not visible anymore. The additional strong reference
on the associated component, that was created when show() was called, is dropped.Source§impl From<_ValidateEntry> for VRc<ItemTreeVTable, Inner_ValidateEntry>
impl From<_ValidateEntry> for VRc<ItemTreeVTable, Inner_ValidateEntry>
Source§fn from(value: _ValidateEntry) -> Self
fn from(value: _ValidateEntry) -> Self
Converts to this type from the input type.
impl StrongHandle for _ValidateEntry
Auto Trait Implementations§
impl !RefUnwindSafe for _ValidateEntry
impl !Send for _ValidateEntry
impl !Sync for _ValidateEntry
impl !UnwindSafe for _ValidateEntry
impl Freeze for _ValidateEntry
impl Unpin for _ValidateEntry
impl UnsafeUnpin for _ValidateEntry
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