[−][src]Struct oxydyze::util::menu::Menu
Methods
impl Menu
[src]
pub fn create(name: String, rect: Option<Rect>) -> MenuBuilder
[src]
pub fn value(&self, parameter: &str) -> Option<f64>
[src]
pub fn drawable(&self) -> SdlDrawable
[src]
pub fn add(&mut self, element: MenuElement)
[src]
pub fn active(&self) -> bool
[src]
pub fn scroll_up(&mut self)
[src]
pub fn scroll_down(&mut self)
[src]
pub fn scroll_right(&mut self, events: &EventManager)
[src]
pub fn scroll_left(&mut self, events: &EventManager)
[src]
Trait Implementations
impl Clone for Menu
[src]
impl Component for Menu
[src]
type Storage = SparseStorage<Self>
fn id() -> ComponentId
[src]
Auto Trait Implementations
impl RefUnwindSafe for Menu
impl Send for Menu
impl Sync for Menu
impl Unpin for Menu
impl UnwindSafe for Menu
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<R> Resource for R where
R: 'static + Any,
[src]
R: 'static + Any,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,