Macro call_as_type

Source
macro_rules! call_as_type {
    (i8  , $v:expr) => { ... };
    (i16 , $v:expr) => { ... };
    (i24 , $v:expr) => { ... };
    (i32 , $v:expr) => { ... };
    (i64 , $v:expr) => { ... };
    (i128, $v:expr) => { ... };
    (u8  , $v:expr) => { ... };
    (u16 , $v:expr) => { ... };
    (u24 , $v:expr) => { ... };
    (u32 , $v:expr) => { ... };
    (u64 , $v:expr) => { ... };
    (u128, $v:expr) => { ... };
    (f32 , $v:expr) => { ... };
    (f64 , $v:expr) => { ... };
}
Expand description
  • Let known type of SampleType instance to call as_Xxx()