pub const fn interval(
start: f32,
end: f32,
) -> Result<Interval, InvalidIntervalError>
Expand description
Create an Interval
with a given start
and end
. Alias of Interval::new
.
pub const fn interval(
start: f32,
end: f32,
) -> Result<Interval, InvalidIntervalError>
Create an Interval
with a given start
and end
. Alias of Interval::new
.