pub struct Vec2Offset {
pub x: f32,
pub y: f32,
}Expand description
Plain offset pair (kept separate from geometry to stay Copy + FFI-flat).
Fields§
§x: f32§y: f32Trait Implementations§
Source§impl Clone for Vec2Offset
impl Clone for Vec2Offset
impl Copy for Vec2Offset
Source§impl Debug for Vec2Offset
impl Debug for Vec2Offset
Source§impl Default for Vec2Offset
impl Default for Vec2Offset
Source§impl PartialEq for Vec2Offset
impl PartialEq for Vec2Offset
impl StructuralPartialEq for Vec2Offset
Auto Trait Implementations§
impl Freeze for Vec2Offset
impl RefUnwindSafe for Vec2Offset
impl Send for Vec2Offset
impl Sync for Vec2Offset
impl Unpin for Vec2Offset
impl UnsafeUnpin for Vec2Offset
impl UnwindSafe for Vec2Offset
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