pub struct RenderCtx<W>where
W: Widget,{ /* private fields */ }Implementations§
Source§impl<W> RenderCtx<W>where
W: Widget,
impl<W> RenderCtx<W>where
W: Widget,
pub fn widget_id(&self) -> WidgetId
pub fn instance_id(&self) -> InstanceId
pub fn surface_size(&self) -> Size
Auto Trait Implementations§
impl<W> Freeze for RenderCtx<W>
impl<W> RefUnwindSafe for RenderCtx<W>
impl<W> Send for RenderCtx<W>
impl<W> Sync for RenderCtx<W>
impl<W> Unpin for RenderCtx<W>
impl<W> UnsafeUnpin for RenderCtx<W>
impl<W> UnwindSafe for RenderCtx<W>
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