Trait cosmic::iced_widget::canvas::path::lyon_path::geom::euclid::num::Ceil

source ·
pub trait Ceil: Copy {
    // Required method
    fn ceil(self) -> Self;
}
Expand description

Defines the smallest integer equal or greater than the original value.

Required Methods§

source

fn ceil(self) -> Self

Rounds to the smallest integer equal or greater than the original value.

This behavior is preserved for negative values (unlike the basic cast).

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Ceil for f32

source§

fn ceil(self) -> f32

source§

impl Ceil for f64

source§

fn ceil(self) -> f64

source§

impl Ceil for i16

source§

fn ceil(self) -> i16

source§

impl Ceil for i32

source§

fn ceil(self) -> i32

source§

impl Ceil for i64

source§

fn ceil(self) -> i64

source§

impl Ceil for isize

source§

fn ceil(self) -> isize

source§

impl Ceil for u16

source§

fn ceil(self) -> u16

source§

impl Ceil for u32

source§

fn ceil(self) -> u32

source§

impl Ceil for u64

source§

fn ceil(self) -> u64

source§

impl Ceil for usize

source§

fn ceil(self) -> usize

Implementors§

source§

impl<T, U> Ceil for Point2D<T, U>
where T: Ceil,

source§

impl<T, U> Ceil for Point3D<T, U>
where T: Ceil,

source§

impl<T, U> Ceil for Size2D<T, U>
where T: Ceil,

source§

impl<T, U> Ceil for Size3D<T, U>
where T: Ceil,

source§

impl<T, U> Ceil for Vector2D<T, U>
where T: Ceil,

source§

impl<T, U> Ceil for Vector3D<T, U>
where T: Ceil,