pub struct Conventions;Expand description
The defaults of DevTools.
Implementations§
Source§impl Conventions
impl Conventions
Sourcepub fn default_screenshot_handler() -> Rc<dyn IScreenshotHandler>
pub fn default_screenshot_handler() -> Rc<dyn IScreenshotHandler>
The screenshot handler of DevToolsOptions by default: one
FilePickerHandler (per thread; the objects of the port are not shared between threads).
Auto Trait Implementations§
impl Freeze for Conventions
impl RefUnwindSafe for Conventions
impl Send for Conventions
impl Sync for Conventions
impl Unpin for Conventions
impl UnsafeUnpin for Conventions
impl UnwindSafe for Conventions
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> 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