pub struct BoundLocation {
pub row: i32,
pub col: i32,
}
Expand description
Graphic bound position relative to origin of coordinate system
Fields§
§row: i32
§col: i32
Trait Implementations§
Source§impl Clone for BoundLocation
impl Clone for BoundLocation
Source§fn clone(&self) -> BoundLocation
fn clone(&self) -> BoundLocation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BoundLocation
impl Debug for BoundLocation
Source§impl Default for BoundLocation
impl Default for BoundLocation
Source§fn default() -> BoundLocation
fn default() -> BoundLocation
Returns the “default value” for a type. Read more
Source§impl Display for BoundLocation
impl Display for BoundLocation
Source§impl FromStr for BoundLocation
impl FromStr for BoundLocation
Source§impl Ord for BoundLocation
impl Ord for BoundLocation
Source§fn cmp(&self, other: &BoundLocation) -> Ordering
fn cmp(&self, other: &BoundLocation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BoundLocation
impl PartialEq for BoundLocation
Source§impl PartialOrd for BoundLocation
impl PartialOrd for BoundLocation
impl Copy for BoundLocation
impl Eq for BoundLocation
impl StructuralPartialEq for BoundLocation
Auto Trait Implementations§
impl Freeze for BoundLocation
impl RefUnwindSafe for BoundLocation
impl Send for BoundLocation
impl Sync for BoundLocation
impl Unpin for BoundLocation
impl UnwindSafe for BoundLocation
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