typst_utils

Trait NonZeroExt

source
pub trait NonZeroExt {
    const ONE: Self;
}
Expand description

An extra constant for NonZeroUsize.

Required Associated Constants§

source

const ONE: Self

The number 1.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NonZeroExt for NonZeroUsize

source§

const ONE: Self = _

Implementors§