[][src]Trait ttf_parser::parser::Offset

pub trait Offset {
    pub fn to_usize(&self) -> usize;

    pub fn is_null(&self) -> bool { ... }
}

A common offset methods.

Required methods

pub fn to_usize(&self) -> usize[src]

Converts the offset to usize.

Loading content...

Provided methods

pub fn is_null(&self) -> bool[src]

Checks that offset is null.

Loading content...

Implementors

impl Offset for Offset16[src]

impl Offset for Offset32[src]

Loading content...