pub fn max<T>(x: T, y: T) -> T
where T: PartialOrd,
Available on crate feature canvas only.