pub struct MenuLayout {
pub x: u16,
pub y: u16,
pub width: u16,
pub height: u16,
pub visible_items: usize,
}Expand description
Layout information for the settings menu
Fields§
§x: u16§y: u16§width: u16§height: u16§visible_items: usizeTrait Implementations§
Source§impl Clone for MenuLayout
impl Clone for MenuLayout
Source§fn clone(&self) -> MenuLayout
fn clone(&self) -> MenuLayout
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 moreSource§impl Debug for MenuLayout
impl Debug for MenuLayout
Source§impl Default for MenuLayout
impl Default for MenuLayout
Source§fn default() -> MenuLayout
fn default() -> MenuLayout
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MenuLayout
impl RefUnwindSafe for MenuLayout
impl Send for MenuLayout
impl Sync for MenuLayout
impl Unpin for MenuLayout
impl UnwindSafe for MenuLayout
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