Struct lu_formats::common::Vector2
source · pub struct Vector2 {
pub x: f32,
pub y: f32,
}
Expand description
Struct vector2
Position in 2D Space
Parser: parse_vector2
Fields§
§x: f32
§y: f32
Trait Implementations§
source§impl<'de> Deserialize<'de> for Vector2
impl<'de> Deserialize<'de> for Vector2
source§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
source§impl PartialEq<Vector2> for Vector2
impl PartialEq<Vector2> for Vector2
impl StructuralPartialEq for Vector2
Auto Trait Implementations§
impl RefUnwindSafe for Vector2
impl Send for Vector2
impl Sync for Vector2
impl Unpin for Vector2
impl UnwindSafe for Vector2
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