Struct smithay::backend::egl::native::XlibWindow [−][src]
pub struct XlibWindow(pub c_ulong);
Expand description
Typed Xlib window for the X11
backend
Trait Implementations
Create an EGLSurface from the internal native type. Read more
Will be called to check if any internal resources will need
to be recreated. Old resources must be used until create
was called again and a new surface was obtained. Read more
If the surface supports resizing you may implement and use this function. Read more
fn swap_buffers(
&self,
display: &Arc<EGLDisplayHandle>,
surface: EGLSurface
) -> Result<(), SwapBuffersError>
fn swap_buffers(
&self,
display: &Arc<EGLDisplayHandle>,
surface: EGLSurface
) -> Result<(), SwapBuffersError>
Adds additional semantics when calling EGLSurface::swap_buffers Read more
Auto Trait Implementations
impl RefUnwindSafe for XlibWindow
impl Send for XlibWindow
impl Sync for XlibWindow
impl Unpin for XlibWindow
impl UnwindSafe for XlibWindow
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
pub fn vzip(self) -> V