Remove counterintuitive constant functions
This commit is contained in:
parent
267e242238
commit
f81827c151
14 changed files with 52 additions and 55 deletions
|
|
@ -35,7 +35,7 @@ struct Layer<'a> {
|
|||
}
|
||||
|
||||
impl<'a> Layer<'a> {
|
||||
pub const fn new(bounds: Rectangle<u32>, offset: Vector<u32>) -> Self {
|
||||
pub fn new(bounds: Rectangle<u32>, offset: Vector<u32>) -> Self {
|
||||
Self {
|
||||
bounds,
|
||||
offset,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue