meant to make this public
This commit is contained in:
parent
0c0365746e
commit
0ff4de3d38
@ -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{
|
||||||
|
Loading…
Reference in New Issue
Block a user