Make value of Bitmask public

This commit is contained in:
Sebastian Dröge 2017-12-17 11:57:37 +02:00
parent 1f6fd3def7
commit 2035bba437

View file

@ -434,7 +434,7 @@ impl SetValue for FractionRange {
} }
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)] #[derive(Copy, Clone, Debug, Eq, PartialEq, Hash)]
pub struct Bitmask(u64); pub struct Bitmask(pub u64);
impl Bitmask { impl Bitmask {
pub fn new(v: u64) -> Self { pub fn new(v: u64) -> Self {