Skip to content
New issue

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

IntoLCDColor should be const_trait #402

Open
github-actions bot opened this issue Jul 13, 2024 · 0 comments
Open

IntoLCDColor should be const_trait #402

github-actions bot opened this issue Jul 13, 2024 · 0 comments
Assignees
Labels

Comments

@github-actions
Copy link
Contributor

IntoLCDColor should be const_trait

// TODO: IntoLCDColor should be const_trait

Source of this issue
}


// TODO: IntoLCDColor should be const_trait
pub trait IntoLCDColor {
	fn into_color(self) -> LCDColor;
}

impl IntoLCDColor for LCDSolidColor {
	fn into_color(self) -> LCDColor { self as LCDColor }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant