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

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

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

A common offset methods.

Required methods

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

Converts the offset to usize.

Loading content...

Provided methods

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...