Struct ppapi::ffi::Struct_PPB_View_1_2Experimental [-]  [+] [src]

pub struct Struct_PPB_View_1_2 {
    pub IsView: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub GetRect: Option< extern "C" fn(resource: PP_Resource, rect: *mut Struct_PP_Rect) -> PP_Bool>,
    pub IsFullscreen: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub IsVisible: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub IsPageVisible: Option< extern "C" fn(resource: PP_Resource) -> PP_Bool>,
    pub GetClipRect: Option< extern "C" fn(resource: PP_Resource, clip: *mut Struct_PP_Rect) -> PP_Bool>,
    pub GetDeviceScale: Option< extern "C" fn(resource: PP_Resource) -> c_float>,
    pub GetCSSScale: Option< extern "C" fn(resource: PP_Resource) -> c_float>,
    pub GetScrollOffset: Option< extern "C" fn(resource: PP_Resource, offset: *mut Struct_PP_Point) -> PP_Bool>,
}

Fields

IsView
GetRect
IsFullscreen
IsVisible
IsPageVisible
GetClipRect
GetDeviceScale
GetCSSScale
GetScrollOffset

Trait Implementations

impl Default for Struct_PPB_View_1_2

fn default() -> Struct_PPB_View_1_2

impl ViewIf for Struct_PPB_View_1_2

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

Derived Implementations

impl Copy for Struct_PPB_View_1_2