Trait veloren_voxygen::ui::widgets::ingame::Ingameable
source · pub trait Ingameable: Widget + Sized {
// Required method
fn prim_count(&self) -> usize;
// Provided methods
fn set_ingame(self, id: Id, ui: &mut UiCell<'_>) -> Self::Event { ... }
fn position_ingame(self, pos: Vec3<f32>) -> Ingame<Self> { ... }
}
Required Methods§
fn prim_count(&self) -> usize
Provided Methods§
fn set_ingame(self, id: Id, ui: &mut UiCell<'_>) -> Self::Event
fn position_ingame(self, pos: Vec3<f32>) -> Ingame<Self>
Object Safety§
This trait is not object safe.