mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Give Bitrate copy semantics.
For such a simple type, which will likely never change to be un-copyable, it's nicer to have copy semantics.
This commit is contained in:
parent
b4c7e8e057
commit
28aed0d18b
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ use version;
|
||||||
|
|
||||||
use stream;
|
use stream;
|
||||||
|
|
||||||
|
#[derive(Clone, Copy)]
|
||||||
pub enum Bitrate {
|
pub enum Bitrate {
|
||||||
Bitrate96,
|
Bitrate96,
|
||||||
Bitrate160,
|
Bitrate160,
|
||||||
|
|
Loading…
Reference in a new issue