pub struct Sinusoidal<A: App> { /* private fields */ }Expand description
Handles communication with the framework and calls the App callbacks.
Implementations§
Source§impl<A: App> Sinusoidal<A>
impl<A: App> Sinusoidal<A>
Sourcepub fn new() -> Result<Sinusoidal<A>, Error>
pub fn new() -> Result<Sinusoidal<A>, Error>
Create a Sinusoidal object for a given app and connect to the framework.
Auto Trait Implementations§
impl<A> Freeze for Sinusoidal<A>where
A: Freeze,
impl<A> RefUnwindSafe for Sinusoidal<A>where
A: RefUnwindSafe,
impl<A> Send for Sinusoidal<A>where
A: Send,
impl<A> !Sync for Sinusoidal<A>
impl<A> Unpin for Sinusoidal<A>where
A: Unpin,
impl<A> UnsafeUnpin for Sinusoidal<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for Sinusoidal<A>where
A: UnwindSafe,
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