Trait ppapi::ppb::ViewIfExperimental [-]  [+] [src]

pub trait ViewIf {
    fn is(&self, res: PP_Resource) -> bool;
    fn rect(&self, res: PP_Resource) -> Option<Struct_PP_Rect>;
    fn is_fullscreen(&self, res: PP_Resource) -> bool;
    fn is_visible(&self, res: PP_Resource) -> bool;
    fn is_page_visible(&self, res: PP_Resource) -> bool;
    fn clip_rect(&self, res: PP_Resource) -> Option<Struct_PP_Rect>;
    fn device_scale(&self, res: PP_Resource) -> f32;
    fn css_scale(&self, res: PP_Resource) -> f32;
}

Required Methods

fn is(&self, res: PP_Resource) -> bool

fn rect(&self, res: PP_Resource) -> Option<Struct_PP_Rect>

fn is_fullscreen(&self, res: PP_Resource) -> bool

fn is_visible(&self, res: PP_Resource) -> bool

fn is_page_visible(&self, res: PP_Resource) -> bool

fn clip_rect(&self, res: PP_Resource) -> Option<Struct_PP_Rect>

fn device_scale(&self, res: PP_Resource) -> f32

fn css_scale(&self, res: PP_Resource) -> f32

Implementors