Trait WebRenderEpochToU16

Source
pub trait WebRenderEpochToU16 {
    // Required method
    fn as_u16(&self) -> u16;
}

Required Methods§

Source

fn as_u16(&self) -> u16

Implementations on Foreign Types§

Source§

impl WebRenderEpochToU16 for Epoch

Source§

fn as_u16(&self) -> u16

The value of this Epoch as a u16 value. Note that if this Epoch’s value is more than u16::MAX, then the return value will be modulo u16::MAX.

Implementors§