# Trait ResolveNullableOffset

    pub trait ResolveNullableOffset {
        // Required methods
        fn resolve<'a, T>(&self, data: FontData<'a>) -> Option<Result<T, ReadError>>
           where T: FontRead<'a>;
        fn resolve_with_args<'a, T>(
            &self,
            data: FontData<'a>,
            args: &<T as ReadArgs>::Args,
        ) -> Option<Result<T, ReadError>>
           where T: FontReadWithArgs<'a>;
    }

Expand description

A helper trait providing a ‘resolve’ method for nullable offset types

## Required Methods§

#### fn resolve<'a, T>(&self, data: FontData<'a>) -> Option<Result<T, ReadError>>
where T: FontRead<'a>,

#### fn resolve_with_args<'a, T>( &self, data: FontData<'a>, args: &<T as ReadArgs>::Args, ) -> Option<Result<T, ReadError>>
where T: FontReadWithArgs<'a>,

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

## Implementors§

§

### impl<O> ResolveNullableOffset for Nullable<O>
where O: Offset,