[−][src]Struct egui::containers::CentralPanel
A panel that covers the remainder of the screen, i.e. whatever area is left after adding other panels.
CentralPanel
should be added after all other panels.
Any Window
s and Area
s will cover the CentralPanel
.
Implementations
impl CentralPanel
[src]
pub fn show<R>(
self,
ctx: &Arc<Context>,
add_contents: impl FnOnce(&mut Ui) -> R
) -> (R, Response)
[src]
self,
ctx: &Arc<Context>,
add_contents: impl FnOnce(&mut Ui) -> R
) -> (R, Response)
Trait Implementations
impl Default for CentralPanel
[src]
pub fn default() -> CentralPanel
[src]
Auto Trait Implementations
impl RefUnwindSafe for CentralPanel
[src]
impl Send for CentralPanel
[src]
impl Sync for CentralPanel
[src]
impl Unpin for CentralPanel
[src]
impl UnwindSafe for CentralPanel
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,