pub trait ImplPanel: ImplView {
Show 13 methods
// Required methods
fn as_window(&self) -> Option<Window>;
fn set_to_fill_layout(&self) -> Option<FillLayout>;
fn set_to_box_layout(
&self,
settings: Option<&BoxLayoutSettings>,
) -> Option<BoxLayout>;
fn get_layout(&self) -> Option<Layout>;
fn layout(&self);
fn add_child_view(&self, view: Option<&mut View>);
fn add_child_view_at(&self, view: Option<&mut View>, index: c_int);
fn reorder_child_view(&self, view: Option<&mut View>, index: c_int);
fn remove_child_view(&self, view: Option<&mut View>);
fn remove_all_child_views(&self);
fn child_view_count(&self) -> usize;
fn child_view_at(&self, index: c_int) -> Option<View>;
// Provided method
fn get_raw(&self) -> *mut _cef_panel_t { ... }
}Required Methods§
Sourcefn as_window(&self) -> Option<Window>
fn as_window(&self) -> Option<Window>
See _cef_panel_t::as_window for more documentation.
Sourcefn set_to_fill_layout(&self) -> Option<FillLayout>
fn set_to_fill_layout(&self) -> Option<FillLayout>
See _cef_panel_t::set_to_fill_layout for more documentation.
Sourcefn set_to_box_layout(
&self,
settings: Option<&BoxLayoutSettings>,
) -> Option<BoxLayout>
fn set_to_box_layout( &self, settings: Option<&BoxLayoutSettings>, ) -> Option<BoxLayout>
See _cef_panel_t::set_to_box_layout for more documentation.
Sourcefn get_layout(&self) -> Option<Layout>
fn get_layout(&self) -> Option<Layout>
See _cef_panel_t::get_layout for more documentation.
Sourcefn layout(&self)
fn layout(&self)
See _cef_panel_t::layout for more documentation.
Sourcefn add_child_view(&self, view: Option<&mut View>)
fn add_child_view(&self, view: Option<&mut View>)
See _cef_panel_t::add_child_view for more documentation.
Sourcefn add_child_view_at(&self, view: Option<&mut View>, index: c_int)
fn add_child_view_at(&self, view: Option<&mut View>, index: c_int)
See _cef_panel_t::add_child_view_at for more documentation.
Sourcefn reorder_child_view(&self, view: Option<&mut View>, index: c_int)
fn reorder_child_view(&self, view: Option<&mut View>, index: c_int)
See _cef_panel_t::reorder_child_view for more documentation.
Sourcefn remove_child_view(&self, view: Option<&mut View>)
fn remove_child_view(&self, view: Option<&mut View>)
See _cef_panel_t::remove_child_view for more documentation.
Sourcefn remove_all_child_views(&self)
fn remove_all_child_views(&self)
See _cef_panel_t::remove_all_child_views for more documentation.
Sourcefn child_view_count(&self) -> usize
fn child_view_count(&self) -> usize
See _cef_panel_t::get_child_view_count for more documentation.
Sourcefn child_view_at(&self, index: c_int) -> Option<View>
fn child_view_at(&self, index: c_int) -> Option<View>
See _cef_panel_t::get_child_view_at for more documentation.
Provided Methods§
fn get_raw(&self) -> *mut _cef_panel_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.