From 28aed0d18b0d165cd3a99f10b42c313834a59a72 Mon Sep 17 00:00:00 2001 From: Simon Persson Date: Fri, 6 Jan 2017 12:56:34 +0100 Subject: [PATCH] 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. --- src/session.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/session.rs b/src/session.rs index 74a50b10..b8054dd2 100644 --- a/src/session.rs +++ b/src/session.rs @@ -28,6 +28,7 @@ use version; use stream; +#[derive(Clone, Copy)] pub enum Bitrate { Bitrate96, Bitrate160,