pub struct ProgramBuilder<M: Model> { /* private fields */ }Implementations§
Source§impl<M: Model> ProgramBuilder<M>
impl<M: Model> ProgramBuilder<M>
pub fn new(model: M) -> Self
pub fn with_alt_screen(self) -> Self
pub fn without_alt_screen(self) -> Self
pub fn with_mouse_support(self) -> Self
pub fn with_fps(self, fps: u32) -> Self
pub async fn run(self) -> Result<()>
Auto Trait Implementations§
impl<M> Freeze for ProgramBuilder<M>where
M: Freeze,
impl<M> RefUnwindSafe for ProgramBuilder<M>where
M: RefUnwindSafe,
impl<M> Send for ProgramBuilder<M>
impl<M> Sync for ProgramBuilder<M>where
M: Sync,
impl<M> Unpin for ProgramBuilder<M>where
M: Unpin,
impl<M> UnsafeUnpin for ProgramBuilder<M>where
M: UnsafeUnpin,
impl<M> UnwindSafe for ProgramBuilder<M>where
M: 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