We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paste notes in a comment?
The text was updated successfully, but these errors were encountered:
struct FrontEndScreen<'a, T: FrontEnd> { frontend: &'a mut T, region: Region } trait Frontend { fn print(); fn get_screen<'a>(region: &'a mut Region) -> FrontendScreen<'a, Self>; } impl<'a, T> PrettyScreen for FrontEndScreen<'a, T> { fn print(&mut self, pos) { self.frontend.print(OFFSET(self.region, pos)); } }
Sorry, something went wrong.
(Should probably call it a FrontendScreen rather than a FrontendRegion, since the point is that it implements PrettyScreen.)
FrontendScreen
FrontendRegion
PrettyScreen
Closed by #19, though with different design and names.
No branches or pull requests
Paste notes in a comment?
The text was updated successfully, but these errors were encountered: