pub struct DeviceBox {
pub x: i64,
pub y: i64,
pub w: i64,
pub h: i64,
}Expand description
A device’s zone on the console’s map, in the map’s own units.
Fields§
§x: i64Left edge.
y: i64Top edge.
w: i64Width.
h: i64Height.
Implementations§
Trait Implementations§
impl Copy for DeviceBox
impl Eq for DeviceBox
impl StructuralPartialEq for DeviceBox
Auto Trait Implementations§
impl Freeze for DeviceBox
impl RefUnwindSafe for DeviceBox
impl Send for DeviceBox
impl Sync for DeviceBox
impl Unpin for DeviceBox
impl UnsafeUnpin for DeviceBox
impl UnwindSafe for DeviceBox
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.