pub struct NativeWidget {
pub(crate) wayland_surface: *mut wl_proxy,
pub(crate) size: Size2D<i32>,
}
Expand description
A wrapper for a Wayland surface, with associated size.
Fields§
§wayland_surface: *mut wl_proxy
§size: Size2D<i32>
Trait Implementations§
source§impl Clone for NativeWidget
impl Clone for NativeWidget
source§fn clone(&self) -> NativeWidget
fn clone(&self) -> NativeWidget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for NativeWidget
impl !Send for NativeWidget
impl !Sync for NativeWidget
impl Unpin for NativeWidget
impl UnwindSafe for NativeWidget
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more