Enum rust_rpg_toolkit::gui::MenuPosition [−][src]
pub enum MenuPosition {
Normal(Vec2),
CenteredVertically(f32),
CenteredHorizontally(f32),
Centered,
}
Variants
Normal(Vec2)
Tuple Fields of Normal
0: Vec2
CenteredVertically(f32)
Tuple Fields of CenteredVertically
0: f32
CenteredHorizontally(f32)
Tuple Fields of CenteredHorizontally
0: f32
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for MenuPosition
impl Send for MenuPosition
impl Sync for MenuPosition
impl Unpin for MenuPosition
impl UnwindSafe for MenuPosition
Blanket Implementations
Mutably borrows from an owned value. Read more