meant to make this public

This commit is contained in:
Quaternions 2024-08-01 09:42:08 -07:00
parent 0c0365746e
commit 0ff4de3d38

View File

@ -27,7 +27,7 @@ pub struct Realtime{
offset:Time, offset:Time,
} }
impl Realtime{ impl Realtime{
const fn new(offset:Time)->Self{ pub const fn new(offset:Time)->Self{
Self{offset} Self{offset}
} }
} }
@ -38,7 +38,7 @@ pub struct Scaled{
offset:Time, offset:Time,
} }
impl Scaled{ impl Scaled{
const fn new(scale:Ratio64,offset:Time)->Self{ pub const fn new(scale:Ratio64,offset:Time)->Self{
Self{scale,offset} Self{scale,offset}
} }
const fn with_scale(scale:Ratio64)->Self{ const fn with_scale(scale:Ratio64)->Self{