Skip to content

Instantly share code, notes, and snippets.

@Limeth
Created August 14, 2016 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Limeth/9961eba42b9d636046aaa51d7223a7cb to your computer and use it in GitHub Desktop.
Save Limeth/9961eba42b9d636046aaa51d7223a7cb to your computer and use it in GitHub Desktop.
warning[E0122]: trait bounds are not (yet) enforced in type definitions
--> src/universe/entity/surface.rs:258:1
|
258 | pub type ReusableBlendFunction<C: Blend<Color=C> + ComponentWise> = Fn(PreAlpha<C, C::Scalar>, PreAlpha<C, C::Scalar>) -> PreAlpha<C, C::Scalar>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment