dicom_core::value::deserialize

Trait Ten

Source
pub trait Ten {
    // Required method
    fn ten() -> Self;
}
Expand description

A simple trait for types with a decimal form.

Required Methods§

Source

fn ten() -> Self

Retrieve the value ten. This returns 10 for integer types and 10. for floating point types.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Ten for f32

Source§

fn ten() -> Self

Source§

impl Ten for f64

Source§

fn ten() -> Self

Source§

impl Ten for i16

Source§

fn ten() -> Self

Source§

impl Ten for i32

Source§

fn ten() -> Self

Source§

impl Ten for i64

Source§

fn ten() -> Self

Source§

impl Ten for isize

Source§

fn ten() -> Self

Source§

impl Ten for u8

Source§

fn ten() -> Self

Source§

impl Ten for u16

Source§

fn ten() -> Self

Source§

impl Ten for u32

Source§

fn ten() -> Self

Source§

impl Ten for u64

Source§

fn ten() -> Self

Source§

impl Ten for usize

Source§

fn ten() -> Self

Implementors§