Struct tuifw_screen_base::Vector
source · pub struct Vector {
pub x: i16,
pub y: i16,
}
Fields§
§x: i16
§y: i16
Implementations§
Trait Implementations§
source§impl AddAssign for Vector
impl AddAssign for Vector
source§fn add_assign(&mut self, other: Vector)
fn add_assign(&mut self, other: Vector)
Performs the
+=
operation. Read moresource§impl PartialEq for Vector
impl PartialEq for Vector
source§impl SubAssign for Vector
impl SubAssign for Vector
source§fn sub_assign(&mut self, other: Vector)
fn sub_assign(&mut self, other: Vector)
Performs the
-=
operation. Read moreimpl Copy for Vector
impl Eq for Vector
impl StructuralEq for Vector
impl StructuralPartialEq for Vector
Auto Trait Implementations§
impl RefUnwindSafe for Vector
impl Send for Vector
impl Sync for Vector
impl Unpin for Vector
impl UnwindSafe for Vector
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