Struct freya_hooks::UsePlatform
source · pub struct UsePlatform { /* private fields */ }
Implementations§
source§impl UsePlatform
impl UsePlatform
pub fn send(&self, event: EventMessage) -> Result<(), UsePlatformError>
pub fn request_animation_frame(&self)
pub fn new_ticker(&self) -> Ticker
Trait Implementations§
source§impl Clone for UsePlatform
impl Clone for UsePlatform
source§fn clone(&self) -> UsePlatform
fn clone(&self) -> UsePlatform
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for UsePlatform
impl Send for UsePlatform
impl Sync for UsePlatform
impl Unpin for UsePlatform
impl !UnwindSafe for UsePlatform
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