[−][src]Struct bear_lib_terminal::geometry::Point
Represents a single on-screen point/coordinate pair.
Fields
x: i32
y: i32
Methods
impl Point
[src][−]
pub fn new(x: i32, y: i32) -> Point
[src][−]
Creates a new point on the specified non-negative coordinates
Trait Implementations
impl Clone for Point
[src][+]
impl Copy for Point
[src]
impl Eq for Point
[src]
impl PartialEq<Point> for Point
[src][+]
impl Debug for Point
[src][+]
impl Hash for Point
[src][+]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,