pub struct MenuRenderCtx {
pub width: u32,
pub height: u32,
pub time: f32,
pub dt: f32,
pub frame: u64,
}Fields§
§width: u32§height: u32§time: f32§dt: f32§frame: u64Implementations§
Trait Implementations§
Source§impl Clone for MenuRenderCtx
impl Clone for MenuRenderCtx
Source§fn clone(&self) -> MenuRenderCtx
fn clone(&self) -> MenuRenderCtx
Returns a duplicate 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 Freeze for MenuRenderCtx
impl RefUnwindSafe for MenuRenderCtx
impl Send for MenuRenderCtx
impl Sync for MenuRenderCtx
impl Unpin for MenuRenderCtx
impl UnsafeUnpin for MenuRenderCtx
impl UnwindSafe for MenuRenderCtx
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