pub struct RenderCtx {
pub width: f32,
pub height: f32,
}Expand description
Immediate-mode render context passed to widgets.
Fields§
§width: f32§height: f32Auto Trait Implementations§
impl Freeze for RenderCtx
impl RefUnwindSafe for RenderCtx
impl Send for RenderCtx
impl Sync for RenderCtx
impl Unpin for RenderCtx
impl UnsafeUnpin for RenderCtx
impl UnwindSafe for RenderCtx
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