pub struct RenderService {}
Expand description
A service to request animation frames.
Implementations§
Source§impl RenderService
impl RenderService
Sourcepub fn request_animation_frame(callback: Callback<f64>) -> RenderTask
pub fn request_animation_frame(callback: Callback<f64>) -> RenderTask
Request animation frame. Callback will be notified when frame should be rendered.
Trait Implementations§
Source§impl Debug for RenderService
impl Debug for RenderService
Source§impl Default for RenderService
impl Default for RenderService
Source§fn default() -> RenderService
fn default() -> RenderService
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenderService
impl RefUnwindSafe for RenderService
impl Send for RenderService
impl Sync for RenderService
impl Unpin for RenderService
impl UnwindSafe for RenderService
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, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
impl<T, V> IntoOptPropValue<V> for Twhere
T: IntoPropValue<Option<V>>,
Source§fn into_opt_prop_value(self) -> Option<V>
fn into_opt_prop_value(self) -> Option<V>
Convert
self
to an optional value of a Properties
struct.Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self
to a value of a Properties
struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self
to a value of a Properties
struct.