pub struct VectorInt {
pub x: i64,
pub y: i64,
}
Expand description
整数値をもつ二次元ベクトル
Fields§
§x: i64
x座標
y: i64
y座標
Implementations§
Trait Implementations§
impl Copy for VectorInt
impl Eq for VectorInt
impl StructuralPartialEq for VectorInt
Auto Trait Implementations§
impl Freeze for VectorInt
impl RefUnwindSafe for VectorInt
impl Send for VectorInt
impl Sync for VectorInt
impl Unpin for VectorInt
impl UnwindSafe for VectorInt
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