Trait mp4parse::ToUsize

source ·
pub trait ToUsize {
    // Required method
    fn to_usize(self) -> usize;
}
Expand description

A trait to indicate a type can be infallibly converted to usize. This should only be implemented for infallible conversions, so only unsigned types are valid.

Required Methods§

source

fn to_usize(self) -> usize

Implementations on Foreign Types§

source§

impl ToUsize for u32

source§

impl ToUsize for u8

source§

impl ToUsize for u16

Implementors§