Struct endbasic_std::console::CharsXY
source · pub struct CharsXY {
pub x: u16,
pub y: u16,
}
Expand description
Represents a coordinate for character-based console operations.
Fields§
§x: u16
The column number, starting from zero.
y: u16
The row number, starting from zero.
Implementations§
Trait Implementations§
source§impl ClampedMul<SizeInPixels, PixelsXY> for CharsXY
impl ClampedMul<SizeInPixels, PixelsXY> for CharsXY
source§fn clamped_mul(self, rhs: SizeInPixels) -> PixelsXY
fn clamped_mul(self, rhs: SizeInPixels) -> PixelsXY
Multiplies self by
rhs
and clamps the result to fit in O
.source§impl PartialEq for CharsXY
impl PartialEq for CharsXY
impl Copy for CharsXY
impl Eq for CharsXY
impl StructuralPartialEq for CharsXY
Auto Trait Implementations§
impl Freeze for CharsXY
impl RefUnwindSafe for CharsXY
impl Send for CharsXY
impl Sync for CharsXY
impl Unpin for CharsXY
impl UnwindSafe for CharsXY
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)