ImplPanel

Trait ImplPanel 

Source
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§

Source

fn as_window(&self) -> Option<Window>

See _cef_panel_t::as_window for more documentation.

Source

fn set_to_fill_layout(&self) -> Option<FillLayout>

See _cef_panel_t::set_to_fill_layout for more documentation.

Source

fn set_to_box_layout( &self, settings: Option<&BoxLayoutSettings>, ) -> Option<BoxLayout>

See _cef_panel_t::set_to_box_layout for more documentation.

Source

fn get_layout(&self) -> Option<Layout>

See _cef_panel_t::get_layout for more documentation.

Source

fn layout(&self)

See _cef_panel_t::layout for more documentation.

Source

fn add_child_view(&self, view: Option<&mut View>)

See _cef_panel_t::add_child_view for more documentation.

Source

fn add_child_view_at(&self, view: Option<&mut View>, index: c_int)

See _cef_panel_t::add_child_view_at for more documentation.

Source

fn reorder_child_view(&self, view: Option<&mut View>, index: c_int)

See _cef_panel_t::reorder_child_view for more documentation.

Source

fn remove_child_view(&self, view: Option<&mut View>)

See _cef_panel_t::remove_child_view for more documentation.

Source

fn remove_all_child_views(&self)

See _cef_panel_t::remove_all_child_views for more documentation.

Source

fn child_view_count(&self) -> usize

See _cef_panel_t::get_child_view_count for more documentation.

Source

fn child_view_at(&self, index: c_int) -> Option<View>

See _cef_panel_t::get_child_view_at for more documentation.

Provided Methods§

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.

Implementors§