Enum pix_engine::core::window::Position [−][src]
pub enum Position {
Positioned(i32),
Centered,
}Expand description
Represents a possible screen position.
Variants
Positioned(i32)A positioned (x, y) coordinate.
Tuple Fields of Positioned
0: i32A coordinate placed in the center of the display.
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 Position
impl UnwindSafe for Position
Blanket Implementations
Mutably borrows from an owned value. Read more