Skip to content

Why is the FloatingPoint trait private? #182

Closed
@dchammond

Description

@dchammond

I am trying to write a generic library on top of arrayfire-rust. For most Array::* functions, having T: arrayfire::HasAfEnum is enough but for functions like arrayfire::dot, that has the additional bound of FloatingPoint, I cannot write a wrapping function since that trait is implemented in utils but utils is a private module.

Is there a reason this is the case?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions