Skip to main content

ImplScrollView

Trait ImplScrollView 

Source
pub trait ImplScrollView: ImplView {
    // Required methods
    fn set_content_view(&self, view: Option<&mut View>);
    fn content_view(&self) -> Option<View>;
    fn visible_content_rect(&self) -> Rect;
    fn has_horizontal_scrollbar(&self) -> c_int;
    fn horizontal_scrollbar_height(&self) -> c_int;
    fn has_vertical_scrollbar(&self) -> c_int;
    fn vertical_scrollbar_width(&self) -> c_int;

    // Provided method
    fn get_raw(&self) -> *mut _cef_scroll_view_t { ... }
}

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§