#[repr(C)]pub struct MenuState {
pub x: f32,
pub y: f32,
pub w: f32,
pub h: f32,
pub offset: nk_scroll,
}
Fields§
§x: f32
§y: f32
§w: f32
§h: f32
§offset: nk_scroll
Trait Implementations§
Source§fn clone(&self) -> nk_menu_state
fn clone(&self) -> nk_menu_state
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 moreSource§fn default() -> nk_menu_state
fn default() -> nk_menu_state
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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