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§
Sourcefn set_content_view(&self, view: Option<&mut View>)
fn set_content_view(&self, view: Option<&mut View>)
See _cef_scroll_view_t::set_content_view
for more documentation.
Sourcefn content_view(&self) -> Option<View>
fn content_view(&self) -> Option<View>
See _cef_scroll_view_t::get_content_view
for more documentation.
Sourcefn visible_content_rect(&self) -> Rect
fn visible_content_rect(&self) -> Rect
See _cef_scroll_view_t::get_visible_content_rect
for more documentation.
Sourcefn has_horizontal_scrollbar(&self) -> c_int
fn has_horizontal_scrollbar(&self) -> c_int
See _cef_scroll_view_t::has_horizontal_scrollbar
for more documentation.
Sourcefn horizontal_scrollbar_height(&self) -> c_int
fn horizontal_scrollbar_height(&self) -> c_int
See _cef_scroll_view_t::get_horizontal_scrollbar_height
for more documentation.
Sourcefn has_vertical_scrollbar(&self) -> c_int
fn has_vertical_scrollbar(&self) -> c_int
See _cef_scroll_view_t::has_vertical_scrollbar
for more documentation.
Sourcefn vertical_scrollbar_width(&self) -> c_int
fn vertical_scrollbar_width(&self) -> c_int
See _cef_scroll_view_t::get_vertical_scrollbar_width
for more documentation.
Provided Methods§
fn get_raw(&self) -> *mut _cef_scroll_view_t
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.