pub struct FerroHeadlessPlatform;Expand description
The headless platform.
Implementations§
Source§impl FerroHeadlessPlatform
impl FerroHeadlessPlatform
Sourcepub fn force_render_timer_tick(count: i32)
pub fn force_render_timer_tick(count: i32)
Forces renderer to process a rendering timer tick.
Use this method before calling
get_last_rendered_frame.
count is the count of frames to be ticked on the timer (1 in the
original when it is not given).
§Panics
Panics if the render timer is not the headless one and the
compositor is not initialized (InvalidOperationException).
Auto Trait Implementations§
impl Freeze for FerroHeadlessPlatform
impl RefUnwindSafe for FerroHeadlessPlatform
impl Send for FerroHeadlessPlatform
impl Sync for FerroHeadlessPlatform
impl Unpin for FerroHeadlessPlatform
impl UnsafeUnpin for FerroHeadlessPlatform
impl UnwindSafe for FerroHeadlessPlatform
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