Trait IntoDrawingArea

pub trait IntoDrawingArea: Sized + DrawingBackend {
    // Required method
    fn into_drawing_area(self) -> DrawingArea<Self, Shift>;
}
Expand description

A type which can be converted into a root drawing area

Required Methods§

fn into_drawing_area(self) -> DrawingArea<Self, Shift>

Convert the type into a root drawing area

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§

§

impl<T> IntoDrawingArea for T
where T: DrawingBackend,