Skip to main content

Module setter_traits

Module setter_traits 

Source
Expand description

Traits to allow the setter functions on our builders to accept the specific set of types we want.

Re-exportsยง

use std::num::NonZero; ๐Ÿ”’

Modulesยง

seal ๐Ÿ”’
Module used to seal the traits declared here.

Macrosยง

impl_possibly_bounds_checked ๐Ÿ”’
Implement PossiblyBoundsChecked and OptionPossiblyBoundsChecked for a space-separated list of integer types.

Traitsยง

OptionPossiblyBoundsChecked
A trait implemented by N, NonZero<N>, Option<N>, and Option<NonZero<N>>, where N is an integer type.
OptionStringOrStr
A trait implemented by String, &str, Option<String>, and Option<&str>
PossiblyBoundsChecked
A trait implemented by N and NonZero<N>, where N is an integer type.
PossiblyOption
A trait implemented by T and Option<T>.
StringOrStr
A trait implemented by String and &str.