Skip to main content

SourceRowElement

Trait SourceRowElement 

Source
pub trait SourceRowElement: Sealed + Debug {
    // Required method
    fn to_usize(&self) -> Option<usize>;
}
Expand description

Sealed integer provenance input; IDs never pass through f64.

Required Methods§

Source

fn to_usize(&self) -> Option<usize>

Return an exact present nonnegative ID that fits usize.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl SourceRowElement for Option<i8>

Source§

impl SourceRowElement for Option<i16>

Source§

impl SourceRowElement for Option<i32>

Source§

impl SourceRowElement for Option<i64>

Source§

impl SourceRowElement for Option<i128>

Source§

impl SourceRowElement for Option<isize>

Source§

impl SourceRowElement for Option<u8>

Source§

impl SourceRowElement for Option<u16>

Source§

impl SourceRowElement for Option<u32>

Source§

impl SourceRowElement for Option<u64>

Source§

impl SourceRowElement for Option<u128>

Source§

impl SourceRowElement for Option<usize>

Source§

impl SourceRowElement for i8

Source§

impl SourceRowElement for i16

Source§

impl SourceRowElement for i32

Source§

impl SourceRowElement for i64

Source§

impl SourceRowElement for i128

Source§

impl SourceRowElement for isize

Source§

impl SourceRowElement for u8

Source§

impl SourceRowElement for u16

Source§

impl SourceRowElement for u32

Source§

impl SourceRowElement for u64

Source§

impl SourceRowElement for u128

Source§

impl SourceRowElement for usize

Implementors§