Trait pdf::any::AnyObject

source ·
pub trait AnyObject {
    // Required methods
    fn type_name(&self) -> &'static str;
    fn type_id(&self) -> TypeId;
    fn size(&self) -> usize;
}

Required Methods§

source

fn type_name(&self) -> &'static str

source

fn type_id(&self) -> TypeId

source

fn size(&self) -> usize

Implementors§

source§

impl<T: 'static> AnyObject for NoSize<T>

source§

impl<T: DataSize + 'static> AnyObject for WithSize<T>