Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
There are 3 ways:
- convert both iterators to concrete collections with the same type
- enum
Box<dyn Iterator<Item=Type>>
Develop Macros in Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Useful Crates for Macro Development¶
syn¶
Syn is a parsing library for parsing a stream of Rust tokens into a syntax tree of Rust source code.
quote¶
Quote
provides the quote!
macro
for turning Rust syntax tree data structures into tokens of source code.
Tips on ChromeOS
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Shortcut | Description |
---|---|
ctrl + shift + + |
Increase size of tabs. |
ctrl + shift + + |
Decrease size of tabs. |
ctrl + + |
Zoom in a page. |
ctrl + - |
Zomm out a page. |
No BLAS or LAPACK Found When Installing Scipy
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
To build Scipy from sources, BLAS & LAPACK libraries need to be installed. See site.cfg.example in the Scipy source directory and
sudo apt-get install gfortran libopenblas-dev liblapack-dev
The dependency requires …
Trait in Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Ordered Map in Golang
Tips & Traps¶
There are 2 implementations of ordered map in Golang orderedmap and go-ordered-map . orderedmap is more popular (based on GitHub statistics) and thus is preferred.