mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
move some functions around
This commit is contained in:
@@ -930,7 +930,7 @@ impl ECBlocks {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn getECCodewordsPerBlock(&self) -> u32 {
|
||||
pub const fn getECCodewordsPerBlock(&self) -> u32 {
|
||||
self.ecCodewordsPerBlock
|
||||
}
|
||||
|
||||
@@ -970,11 +970,11 @@ impl ECB {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn getCount(&self) -> u32 {
|
||||
pub const fn getCount(&self) -> u32 {
|
||||
self.count
|
||||
}
|
||||
|
||||
pub fn getDataCodewords(&self) -> u32 {
|
||||
pub const fn getDataCodewords(&self) -> u32 {
|
||||
self.dataCodewords
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user